summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-05-17 04:51:08 -0700
committer Shih-wei Liao <sliao@google.com> 2012-05-18 00:21:28 -0700
commit29c0cd1f38efdb8c201317b5bc07f6b9dce97cef (patch)
tree6368f3f5078e624cc8cdbf152eab3eb02362f220 /src/compiler_llvm/method_compiler.h
parent9fb89dda9390a2c0b37944f34bdf61d20cf750f5 (diff)
Inline specific method.
Change-Id: Ie9f035211df3ad552768be6aa3c6a38adb3ce046
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index 02a5b2e7bd..98325a0058 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -434,6 +434,15 @@ class MethodCompiler {
}
// TODO: Use high-level IR to do this
+ bool EmitInlineJavaIntrinsic(const std::string& callee_method_name,
+ const std::vector<llvm::Value*>& args,
+ llvm::BasicBlock* after_invoke);
+
+ bool EmitInlinedStringCharAt(const std::vector<llvm::Value*>& args,
+ llvm::BasicBlock* after_invoke);
+
+ bool EmitInlinedStringLength(const std::vector<llvm::Value*>& args,
+ llvm::BasicBlock* after_invoke);
struct MethodInfo {
int64_t this_reg_idx;