Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/java_bytecode/java_bytecode_typecheck.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,9 @@ bool java_bytecode_typecheck(
// fail for now
return true;
}

// Static members of java_bytecode_typecheckt:
std::map<irep_idt, irep_idt>
java_bytecode_typecheckt::string_literal_to_symbol_name;
std::map<irep_idt, size_t>
java_bytecode_typecheckt::escaped_string_literal_count;
4 changes: 2 additions & 2 deletions src/java_bytecode/java_bytecode_typecheck.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class java_bytecode_typecheckt:public typecheckt
virtual std::string to_string(const typet &type);

std::set<irep_idt> already_typechecked;
std::map<irep_idt, irep_idt> string_literal_to_symbol_name;
std::map<irep_idt, size_t> escaped_string_literal_count;
static std::map<irep_idt, irep_idt> string_literal_to_symbol_name;
static std::map<irep_idt, size_t> escaped_string_literal_count;
};

#endif // CPROVER_JAVA_BYTECODE_JAVA_BYTECODE_TYPECHECK_H