From 89f960588c2d7e5220f9c82431df579294300932 Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Thu, 12 Jul 2012 20:49:53 -0700 Subject: Move inferred_reg_category_map to greenland. Change-Id: I33e98b3cfe661f69046362d71f9315bd5b439abd --- src/compiler_llvm/method_compiler.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/compiler_llvm/method_compiler.h') diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index d54be6b564..15b8558da1 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -20,6 +20,7 @@ #include "backend_types.h" #include "dex_file.h" #include "dex_instruction.h" +#include "greenland/backend_types.h" #include "invoke_type.h" #include "object_utils.h" #include "runtime_support_func.h" @@ -39,6 +40,10 @@ namespace art { class DexCache; class Field; class OatCompilationUnit; + + namespace greenland { + class InferredRegCategoryMap; + } } @@ -361,9 +366,9 @@ class MethodCompiler { llvm::Value* array, llvm::Value* index); - RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg); + greenland::RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg); - const InferredRegCategoryMap* GetInferredRegCategoryMap(); + const greenland::InferredRegCategoryMap* GetInferredRegCategoryMap(); bool IsRegCanBeObject(uint16_t reg_idx); -- cgit v1.2.3-59-g8ed1b