summaryrefslogtreecommitdiffstats
path: root/runtime/profiler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/profiler.cc')
-rw-r--r--runtime/profiler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/profiler.cc b/runtime/profiler.cc
index c3bdcb1..db372c3 100644
--- a/runtime/profiler.cc
+++ b/runtime/profiler.cc
@@ -161,7 +161,7 @@ void* BackgroundMethodSamplingProfiler::RunProfilerThread(void* arg) {
CHECK(runtime->AttachCurrentThread("Profiler", true, runtime->GetSystemThreadGroup(),
- !runtime->IsCompiler()));
+ !runtime->IsAotCompiler()));
Thread* self = Thread::Current();