From 29c0cd1f38efdb8c201317b5bc07f6b9dce97cef Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Thu, 17 May 2012 04:51:08 -0700 Subject: Inline specific method. Change-Id: Ie9f035211df3ad552768be6aa3c6a38adb3ce046 --- src/compiler_llvm/method_compiler.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/compiler_llvm/method_compiler.h') 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& args, + llvm::BasicBlock* after_invoke); + + bool EmitInlinedStringCharAt(const std::vector& args, + llvm::BasicBlock* after_invoke); + + bool EmitInlinedStringLength(const std::vector& args, + llvm::BasicBlock* after_invoke); struct MethodInfo { int64_t this_reg_idx; -- cgit v1.2.3-59-g8ed1b