diff options
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/method_compiler.cc | 4 |
1 files changed, 1 insertions, 3 deletions
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 |