diff options
| author | 2012-05-17 04:51:08 -0700 | |
|---|---|---|
| committer | 2012-05-18 00:21:28 -0700 | |
| commit | 29c0cd1f38efdb8c201317b5bc07f6b9dce97cef (patch) | |
| tree | 6368f3f5078e624cc8cdbf152eab3eb02362f220 /src/compiler_llvm/method_compiler.h | |
| parent | 9fb89dda9390a2c0b37944f34bdf61d20cf750f5 (diff) | |
Inline specific method.
Change-Id: Ie9f035211df3ad552768be6aa3c6a38adb3ce046
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
| -rw-r--r-- | src/compiler_llvm/method_compiler.h | 9 |
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; |