diff options
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
| -rw-r--r-- | src/compiler_llvm/method_compiler.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index e815e3b2e4..598a337081 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -434,6 +434,18 @@ class MethodCompiler { EmitStoreDalvikRetValReg(GetJTypeFromShorty(shorty), space, new_value); } + // TODO: Use high-level IR to do this + + struct MethodInfo { + int64_t this_reg_idx; + bool this_will_not_be_null; + bool has_invoke; + bool need_shadow_frame_entry; + bool need_shadow_frame; + }; + MethodInfo method_info_; + + void ComputeMethodInfo(); private: CompilationUnit* cunit_; |