Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 49c1692e63c8dfcecfce932bb13a6e0c02cbf6c7..a6983396ba7e905532d239547d6867ef9de38ea2 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -3271,7 +3271,7 @@ MaybeObject* Heap::AllocateSharedFunctionInfo(Object* name) { |
Code* illegal = isolate_->builtins()->builtin(Builtins::kIllegal); |
share->set_code(illegal); |
share->ClearOptimizedCodeMap(); |
- share->set_scope_info(ScopeInfo::Empty()); |
+ share->set_scope_info(ScopeInfo::Empty(isolate_)); |
Code* construct_stub = |
isolate_->builtins()->builtin(Builtins::kJSConstructStubGeneric); |
share->set_construct_stub(construct_stub); |