Index: src/scopes.cc |
diff --git a/src/scopes.cc b/src/scopes.cc |
index ee327fb79f7dee73aebd932cc092e373e13ba055..137ab68b2c0f8a753ea872a04a051e0e74416e78 100644 |
--- a/src/scopes.cc |
+++ b/src/scopes.cc |
@@ -1302,7 +1302,7 @@ void Scope::AllocateParameterLocals() { |
void Scope::AllocateNonParameterLocal(Variable* var) { |
ASSERT(var->scope() == this); |
- ASSERT(!var->IsVariable(isolate_->factory()->result_string()) || |
+ ASSERT(!var->IsVariable(isolate_->factory()->dot_result_string()) || |
!var->IsStackLocal()); |
if (var->IsUnallocated() && MustAllocate(var)) { |
if (MustAllocateInContext(var)) { |