diff options
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); |