Index: runtime/vm/runtime_entry.h |
diff --git a/runtime/vm/runtime_entry.h b/runtime/vm/runtime_entry.h |
index f0580a683041f40ad7b77166c261dd9d5dfa3614..27c9619e6ec2d83f2e55d8acda3a51501927bf62 100644 |
--- a/runtime/vm/runtime_entry.h |
+++ b/runtime/vm/runtime_entry.h |
@@ -77,9 +77,9 @@ class RuntimeEntry : public ValueObject { |
ASSERT(arguments.ArgCount() == argument_count); \ |
if (FLAG_trace_runtime_calls) OS::Print("Runtime call: %s\n", ""#name); \ |
{ \ |
- Isolate* isolate = arguments.isolate(); \ |
- Thread* thread = isolate->mutator_thread(); \ |
+ Thread* thread = arguments.thread(); \ |
ASSERT(thread == Thread::Current()); \ |
+ Isolate* isolate = thread->isolate(); \ |
StackZone zone(isolate); \ |
HANDLESCOPE(isolate); \ |
DRT_Helper##name(isolate, thread, zone.GetZone(), arguments); \ |