From 8532191c4fc8e005f7d432fec40fd9f2936275c6 Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Sun, 1 Apr 2012 15:24:56 -0700 Subject: Late method resolution. Change-Id: Ic35348022391c3c11a1d4984b9add7b6ef53aa4c --- src/compiler_llvm/method_compiler.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (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 1ff3a9f9df..e5be3ba161 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -194,6 +194,16 @@ class MethodCompiler { void EmitInsn_SPut(GEN_INSN_ARGS, JType field_jty); // INVOKE instructions + llvm::Value* EmitEnsureInitialized(llvm::Value* callee_method_object_addr, + uint32_t method_idx, + bool is_static, + llvm::Value* code_addr); + llvm::Value* EmitEnsureResolved(llvm::Value* callee, + llvm::Value* caller, + uint32_t dex_method_idx, + Instruction::Code instr_code); + void EmitEnsureLink(llvm::Value*); + void EmitInsn_InvokeVirtual(GEN_INSN_ARGS, bool is_range); void EmitInsn_InvokeSuper(GEN_INSN_ARGS, bool is_range); void EmitInsn_InvokeVirtualSuperSlow(uint32_t dex_pc, -- cgit v1.2.3-59-g8ed1b