Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 67ebebc211bfa9843f9408bd2db3ad8961a54d9c..0de3a8d5933466d7421392b7c3abc118bb13e5ff 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -149,8 +149,8 @@ Handle<ScopeInfo> ScopeInfo::Create(Scope* scope, Zone* zone) { |
} |
-ScopeInfo* ScopeInfo::Empty() { |
- return reinterpret_cast<ScopeInfo*>(HEAP->empty_fixed_array()); |
+ScopeInfo* ScopeInfo::Empty(Isolate* isolate) { |
+ return reinterpret_cast<ScopeInfo*>(isolate->heap()->empty_fixed_array()); |
} |