commit | 0b827109e3d8dea0f943bc41f2462d24c6e967a1 | [log] [tgz] |
---|---|---|
author | Logan Chien <loganchien@google.com> | Tue Dec 20 19:46:14 2011 +0800 |
committer | Shih-wei Liao <sliao@google.com> | Thu Feb 16 00:29:01 2012 -0800 |
tree | 05e88d1d27e6120713eff4dfb3c33da05c490044 | |
parent | 7e6e33d45f96ca36803455f158d02fd1f5c21a1a [diff] [blame] |
Add LLVM function declaration codegen. Change-Id: I1ad54dd54ea73eba5ecc8ab17479fe161c308b88
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index 7b1154d..0edf322 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h
@@ -102,6 +102,13 @@ void EmitInstructions(); void EmitInstruction(uint32_t dex_pc, Instruction const* insn); + + // Code generation helper function + + llvm::Value* EmitLoadMethodObjectAddr(); + + llvm::FunctionType* GetFunctionType(uint32_t method_idx, bool is_static); + };