diff options
| author | 2012-05-16 00:50:55 -0700 | |
|---|---|---|
| committer | 2012-05-16 01:04:51 -0700 | |
| commit | aad0d97e772d80467c248007fa096b191884d823 (patch) | |
| tree | 0f54e1a39c9b1977c482d68efbe673ac0642dd89 /src/compiler_llvm/compilation_unit.cc | |
| parent | 358767703ddf9ae526330bb50d836cac4983fbd7 (diff) | |
Call out the functions that we actually import.
Addressed Stephen's review two days ago.
Change-Id: If37f4f922e9c5cde1a05a7f667fa925c3dfa7737
Diffstat (limited to 'src/compiler_llvm/compilation_unit.cc')
| -rw-r--r-- | src/compiler_llvm/compilation_unit.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler_llvm/compilation_unit.cc b/src/compiler_llvm/compilation_unit.cc index 9e2c33a2bf..598a8b3f11 100644 --- a/src/compiler_llvm/compilation_unit.cc +++ b/src/compiler_llvm/compilation_unit.cc @@ -141,7 +141,8 @@ class AddSuspendCheckToLoopLatchPass : public llvm::LoopPass { irb_->SetInsertPoint(bb->getTerminator()); - using namespace art::compiler_llvm::runtime_support; + using art::compiler_llvm::runtime_support::TestSuspend; + using art::compiler_llvm::runtime_support::GetCurrentThread; llvm::Value* runtime_func = irb_->GetRuntime(TestSuspend); llvm::Value* thread_object_addr = irb_->CreateCall(irb_->GetRuntime(GetCurrentThread)); irb_->CreateCall(runtime_func, thread_object_addr); |