Index: src/heap/spaces.cc |
diff --git a/src/heap/spaces.cc b/src/heap/spaces.cc |
index 47e8e672ede7a9d72f26c4d7958ef1d5d3821997..afbb452f54527878fe55a8b4034344f51b535627 100644 |
--- a/src/heap/spaces.cc |
+++ b/src/heap/spaces.cc |
@@ -2937,8 +2937,8 @@ HeapObject* CompactionSpace::SweepAndRetryAllocation(int size_in_bytes) { |
HeapObject* PagedSpace::SlowAllocateRaw(int size_in_bytes) { |
VMState<GC> state(heap()->isolate()); |
- RuntimeCallTimerScope(heap()->isolate(), |
- &RuntimeCallStats::GC_SlowAllocateRaw); |
+ RuntimeCallTimerScope runtime_timer(heap()->isolate(), |
+ &RuntimeCallStats::GC_SlowAllocateRaw); |
return RawSlowAllocateRaw(size_in_bytes); |
} |