diff options
| author | 2012-05-18 12:17:06 -0700 | |
|---|---|---|
| committer | 2012-05-18 12:17:06 -0700 | |
| commit | e8966b4e150da2cf369c0d474a4f801b0730ea81 (patch) | |
| tree | 556acb076fcac6d09f1485c49c2b94bea5763fb0 /src/compiler_llvm/method_compiler.h | |
| parent | 6523cf6eccc0730a3ed58565ee9f1d4bc2f69ed8 (diff) | |
| parent | 29c0cd1f38efdb8c201317b5bc07f6b9dce97cef (diff) | |
Merge "Inline specific method." into ics-mr1-plus-art
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; |