From 0b686e560b4c9fa631af8be56b66f9d86ba4cf5c Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Mon, 9 Apr 2012 22:43:35 -0700 Subject: Refactor the temporary solution of the stubs. Also, fix test 032 and 088. Change-Id: I84049356b29ca6d9a5c852c926190de76b285780 --- src/compiler_llvm/method_compiler.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (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 e5be3ba161..48d446779d 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -194,15 +194,13 @@ 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* EmitFixStub(llvm::Value* callee_method_object_addr, + uint32_t method_idx, + bool is_static); llvm::Value* EmitEnsureResolved(llvm::Value* callee, llvm::Value* caller, uint32_t dex_method_idx, - Instruction::Code instr_code); - void EmitEnsureLink(llvm::Value*); + bool is_virtual); void EmitInsn_InvokeVirtual(GEN_INSN_ARGS, bool is_range); void EmitInsn_InvokeSuper(GEN_INSN_ARGS, bool is_range); -- cgit v1.2.3-59-g8ed1b