summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-07-12 20:49:53 -0700
committer Shih-wei Liao <sliao@google.com> 2012-09-15 04:15:18 -0700
commit89f960588c2d7e5220f9c82431df579294300932 (patch)
tree653d725678a285d6cf9a966ccb1daa59df85b743 /src/compiler_llvm/method_compiler.h
parent1f196f1c338487d53d16fb132c619d6f5941a065 (diff)
Move inferred_reg_category_map to greenland.
Change-Id: I33e98b3cfe661f69046362d71f9315bd5b439abd
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h9
1 files changed, 7 insertions, 2 deletions
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);