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.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index df381ee559..36f90e596a 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -37,6 +37,7 @@ namespace art {
class CompiledMethod;
class Compiler;
class DexCache;
+ class Field;
}
@@ -322,6 +323,8 @@ class MethodCompiler {
llvm::Value* EmitLoadConstantClass(uint32_t dex_pc, uint32_t type_idx);
+ llvm::Value* EmitLoadStaticStorage(uint32_t dex_pc, uint32_t type_idx);
+
void EmitGuard_DivZeroException(uint32_t dex_pc,
llvm::Value* denominator,
JType op_jty);
@@ -339,6 +342,11 @@ class MethodCompiler {
RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg);
+ Field* ResolveField(uint32_t field_idx);
+
+ Field* FindFieldAndDeclaringTypeIdx(uint32_t field_idx,
+ uint32_t &resolved_type_idx);
+
// Diagnostics helper function
void PrintUnresolvedFieldWarning(int32_t field_idx);