diff options
Diffstat (limited to 'src/compiler/CompilerIR.h')
-rw-r--r-- | src/compiler/CompilerIR.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/compiler/CompilerIR.h b/src/compiler/CompilerIR.h index 0fc26dea4c..88593bd09e 100644 --- a/src/compiler/CompilerIR.h +++ b/src/compiler/CompilerIR.h @@ -17,10 +17,12 @@ #ifndef ART_SRC_COMPILER_COMPILER_IR_H_ #define ART_SRC_COMPILER_COMPILER_IR_H_ +#include <vector> + #include "codegen/Optimizer.h" #include "CompilerUtility.h" -#include <vector> #include "oat_compilation_unit.h" +#include "safe_map.h" namespace art { @@ -519,8 +521,8 @@ struct CompilationUnit { const u2* insns; u4 insnsSize; bool disableDataflow; // Skip dataflow analysis if possible - std::map<unsigned int, BasicBlock*> blockMap; // findBlock lookup cache - std::map<unsigned int, LIR*> boundaryMap; // boundary lookup cache + SafeMap<unsigned int, BasicBlock*> blockMap; // findBlock lookup cache + SafeMap<unsigned int, LIR*> boundaryMap; // boundary lookup cache int defCount; // Used to estimate number of SSA names // If non-empty, apply optimizer/debug flags only to matching methods. |