Index: src/scopeinfo.cc |
diff --git a/src/scopeinfo.cc b/src/scopeinfo.cc |
index 0f36234701c06e903cf07c6aa05e1f1133551b3d..eaaa0be4c4f19b7742724cd5ec24fba093099151 100644 |
--- a/src/scopeinfo.cc |
+++ b/src/scopeinfo.cc |
@@ -86,6 +86,7 @@ Handle<ScopeInfo> ScopeInfo::Create(Scope* scope) { |
scope_info->SetParameterCount(parameter_count); |
scope_info->SetStackLocalCount(stack_local_count); |
scope_info->SetContextLocalCount(context_local_count); |
+ scope_info->SetStackSlotsDepth(scope->stack_slots_depth()); |
int index = kVariablePartIndex; |
// Add parameters. |