Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 3e18368f74bde67569d01223a66717b64ad10bd2..0eacc83c79a3b5d5c11d8bc50e2836317b8a78b2 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -313,7 +313,7 @@ Handle<SerializedScopeInfo> ScopeInfo<Allocator>::Serialize() { |
stack_slots_.length(); |
Handle<SerializedScopeInfo> data( |
- SerializedScopeInfo::cast(*FACTORY->NewFixedArray(length, TENURED))); |
+ SerializedScopeInfo::cast(*FACTORY->NewSerializedScopeInfo(length))); |
AssertNoAllocation nogc; |
Object** p0 = data->data_start(); |