Cleanup runtime support. Inline via IR builder.
Change-Id: Ib34067489defa75f7e1feb1c382820e52754e72e
diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc
index eef71db..ce2b99f 100644
--- a/src/compiler_llvm/method_compiler.cc
+++ b/src/compiler_llvm/method_compiler.cc
@@ -2217,9 +2217,7 @@
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