diff options
Diffstat (limited to 'deps/v8/src/parsing/expression-scope-reparenter.cc')
-rw-r--r-- | deps/v8/src/parsing/expression-scope-reparenter.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/src/parsing/expression-scope-reparenter.cc b/deps/v8/src/parsing/expression-scope-reparenter.cc index bdb0aeadd6..30e96d1688 100644 --- a/deps/v8/src/parsing/expression-scope-reparenter.cc +++ b/deps/v8/src/parsing/expression-scope-reparenter.cc @@ -55,7 +55,7 @@ void Reparenter::VisitClassLiteral(ClassLiteral* class_literal) { #if DEBUG // The same goes for the rest of the class, but we do some // sanity checking in debug mode. - ZoneList<ClassLiteralProperty*>* props = class_literal->properties(); + ZonePtrList<ClassLiteralProperty>* props = class_literal->properties(); for (int i = 0; i < props->length(); ++i) { ClassLiteralProperty* prop = props->at(i); // No need to visit the values, since all values are functions with @@ -74,7 +74,7 @@ void Reparenter::VisitVariableProxy(VariableProxy* proxy) { } } else { // Ensure that temporaries we find are already in the correct scope. - DCHECK(proxy->var()->mode() != TEMPORARY || + DCHECK(proxy->var()->mode() != VariableMode::kTemporary || proxy->var()->scope() == scope_->GetClosureScope()); } } |