diff options
| author | 2012-04-11 23:48:55 -0700 | |
|---|---|---|
| committer | 2012-04-12 11:16:33 -0700 | |
| commit | a47468765b3c314b4b76959e3976af4f012bc533 (patch) | |
| tree | db7c38d2b2f0aa080e56f7211de1292fb278c1f6 /src/compiler_llvm/method_compiler.h | |
| parent | 4cacde827074c2d116aca47d50c2fd92d681ae8a (diff) | |
Fix 041. Float to int.
Change-Id: I916f2a27c4bf515b4f8163f8f9da03425b61ff4b
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
| -rw-r--r-- | src/compiler_llvm/method_compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index efe8486092..0bfdf5d4c5 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -23,6 +23,7 @@ #include "dex_instruction.h" #include "invoke_type.h" #include "object_utils.h" +#include "runtime_support_func.h" #include <llvm/Support/IRBuilder.h> @@ -233,7 +234,8 @@ class MethodCompiler { void EmitInsn_FNeg(GEN_INSN_ARGS, JType op_jty); void EmitInsn_IntToFP(GEN_INSN_ARGS, JType src_jty, JType dest_jty); - void EmitInsn_FPToInt(GEN_INSN_ARGS, JType src_jty, JType dest_jty); + void EmitInsn_FPToInt(GEN_INSN_ARGS, JType src_jty, JType dest_jty, + runtime_support::RuntimeId runtime_func_id); void EmitInsn_FExt(GEN_INSN_ARGS); void EmitInsn_FTrunc(GEN_INSN_ARGS); |