summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-04-09 22:43:35 -0700
committer Shih-wei Liao <sliao@google.com> 2012-04-10 09:12:53 -0700
commit0b686e560b4c9fa631af8be56b66f9d86ba4cf5c (patch)
treed00ba420c7b0ca31e62d0433f22cd9fb2cd28cff /src/compiler_llvm/method_compiler.h
parente75bc7274665947afeb9442b6011d262318a31aa (diff)
Refactor the temporary solution of the stubs.
Also, fix test 032 and 088. Change-Id: I84049356b29ca6d9a5c852c926190de76b285780
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h10
1 files changed, 4 insertions, 6 deletions
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);