Index: src/ast/scopeinfo.cc |
diff --git a/src/ast/scopeinfo.cc b/src/ast/scopeinfo.cc |
index 5354b8d737800c4ac2cd57d6fc4b3e6ffd8dd9e4..5d0212c750b5916c1d95de1da83f9692a9f47643 100644 |
--- a/src/ast/scopeinfo.cc |
+++ b/src/ast/scopeinfo.cc |
@@ -315,7 +315,7 @@ Handle<ScopeInfo> ScopeInfo::CreateForWithScope( |
int index = kVariablePartIndex; |
DCHECK_EQ(index, scope_info->ParameterNamesIndex()); |
DCHECK_EQ(index, scope_info->StackLocalFirstSlotIndex()); |
- scope_info->set(index++, Smi::FromInt(0)); |
+ scope_info->set(index++, Smi::kZero); |
DCHECK_EQ(index, scope_info->StackLocalNamesIndex()); |
DCHECK_EQ(index, scope_info->ReceiverInfoIndex()); |
DCHECK_EQ(index, scope_info->FunctionNameInfoIndex()); |