diff options
| author | 2012-07-19 03:10:08 -0700 | |
|---|---|---|
| committer | 2012-09-15 04:15:17 -0700 | |
| commit | 9a129457c233b653c7a8f65c963509267252b0a7 (patch) | |
| tree | 813e803d3d96397199924717ce0a8e4489d867ce /src/compiler_llvm/method_compiler.cc | |
| parent | b672d1e48b6e02bb69c7cd9bcfa7509c81514c07 (diff) | |
Cleanup runtime support. Inline via IR builder.
Change-Id: Ia2d1a5c7273d71e3267ce4631cc5a56ad7f3af7a
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 |