From 9a129457c233b653c7a8f65c963509267252b0a7 Mon Sep 17 00:00:00 2001 From: TDYa127 Date: Thu, 19 Jul 2012 03:10:08 -0700 Subject: Cleanup runtime support. Inline via IR builder. Change-Id: Ia2d1a5c7273d71e3267ce4631cc5a56ad7f3af7a --- src/compiler_llvm/method_compiler.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/compiler_llvm/method_compiler.cc') diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc index 4dc3954ccb..ca8888c6fb 100644 --- a/src/compiler_llvm/method_compiler.cc +++ b/src/compiler_llvm/method_compiler.cc @@ -2190,9 +2190,7 @@ llvm::Value* MethodCompiler::EmitConditionResult(llvm::Value* lhs, void MethodCompiler::EmitMarkGCCard(llvm::Value* value, llvm::Value* target_addr) { // Using runtime support, let the target can override by InlineAssembly. - llvm::Function* runtime_func = irb_.GetRuntime(MarkGCCard); - - irb_.CreateCall2(runtime_func, value, target_addr); + irb_.Runtime().EmitMarkGCCard(value, target_addr); } void -- cgit v1.2.3-59-g8ed1b