Index: src/compiler/ast-graph-builder.cc |
diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc |
index f0b78ed59d59c970e5ebc339da0411afb6257bc7..08b2e7fe18136c92b665fd3308feba40b1c130e6 100644 |
--- a/src/compiler/ast-graph-builder.cc |
+++ b/src/compiler/ast-graph-builder.cc |
@@ -2297,7 +2297,7 @@ void AstGraphBuilder::VisitCall(Call* expr) { |
receiver_value = jsgraph()->UndefinedConstant(); |
break; |
} |
- case Call::LOOKUP_SLOT_CALL: { |
+ case Call::WITH_CALL: { |
Variable* variable = callee->AsVariableProxy()->var(); |
DCHECK(variable->location() == VariableLocation::LOOKUP); |
Node* name = jsgraph()->Constant(variable->name()); |