diff options
| author | 2012-06-23 18:48:04 -0700 | |
|---|---|---|
| committer | 2012-06-23 18:48:04 -0700 | |
| commit | ba67d7d31efbbdc6e8e8870b2cf0faf7d22db454 (patch) | |
| tree | 35991880b54af24665e8635a4dc8362eef46567c /src/compiler_llvm/method_compiler.cc | |
| parent | 58f7cd7085e08ccf9b1b5e51e69fceec2ba4a024 (diff) | |
Revert "Cleanup runtime support. Inline via IR builder."
This reverts commit afa97e2b4ede9c5fb590399b106a42728ce3b999.
Diffstat (limited to 'src/compiler_llvm/method_compiler.cc')
| -rw-r--r-- | src/compiler_llvm/method_compiler.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc index ce2b99f40a..eef71db957 100644 --- a/src/compiler_llvm/method_compiler.cc +++ b/src/compiler_llvm/method_compiler.cc @@ -2217,7 +2217,9 @@ 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. - irb_.Runtime().EmitMarkGCCard(value, target_addr); + llvm::Function* runtime_func = irb_.GetRuntime(MarkGCCard); + + irb_.CreateCall2(runtime_func, value, target_addr); } void |