summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
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);