diff options
Diffstat (limited to 'src/compiler_llvm')
| -rw-r--r-- | src/compiler_llvm/inferred_reg_category_map.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler_llvm/inferred_reg_category_map.h b/src/compiler_llvm/inferred_reg_category_map.h index f05627430e..14bc05286a 100644 --- a/src/compiler_llvm/inferred_reg_category_map.h +++ b/src/compiler_llvm/inferred_reg_category_map.h @@ -21,7 +21,8 @@ #include <stdint.h> #include <vector> -#include <map> + +#include "safe_map.h" namespace art { namespace compiler_llvm { @@ -31,8 +32,7 @@ class InferredRegCategoryMap { private: class RegCategoryLine { private: - // TODO: Use hashmap (unordered_map). - typedef std::map<uint16_t, uint8_t> Table; + typedef SafeMap<uint16_t, uint8_t> Table; Table reg_category_line_; public: |