| Index: src/compiler/ast-graph-builder.cc
|
| diff --git a/src/compiler/ast-graph-builder.cc b/src/compiler/ast-graph-builder.cc
|
| index 4b204c460dcaa559953decdb8e5b0559c5a1aed2..03fee5847d11a9ba0326e74cc45abe865077803e 100644
|
| --- a/src/compiler/ast-graph-builder.cc
|
| +++ b/src/compiler/ast-graph-builder.cc
|
| @@ -1293,9 +1293,8 @@
|
| JSBuiltinsObject::OffsetOfFunctionWithId(Builtins::FILTER_KEY));
|
| // result is either the string key or Smi(0) indicating the property
|
| // is gone.
|
| - Node* res = NewNode(
|
| - javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS, language_mode()),
|
| - function, obj, value);
|
| + Node* res = NewNode(javascript()->CallFunction(3, NO_CALL_FUNCTION_FLAGS),
|
| + function, obj, value);
|
| PrepareFrameState(res, stmt->FilterId(), OutputFrameStateCombine::Push());
|
| Node* property_missing =
|
| NewNode(javascript()->StrictEqual(), res, jsgraph()->ZeroConstant());
|
| @@ -2199,8 +2198,7 @@
|
| }
|
|
|
| // Create node to perform the function call.
|
| - const Operator* call =
|
| - javascript()->CallFunction(args->length() + 2, flags, language_mode());
|
| + const Operator* call = javascript()->CallFunction(args->length() + 2, flags);
|
| Node* value = ProcessArguments(call, args->length() + 2);
|
| PrepareFrameState(value, expr->id(), ast_context()->GetStateCombine());
|
| ast_context()->ProduceValue(value);
|
| @@ -2244,8 +2242,7 @@
|
| VisitForValues(args);
|
|
|
| // Create node to perform the JS runtime call.
|
| - const Operator* call =
|
| - javascript()->CallFunction(args->length() + 2, flags, language_mode());
|
| + const Operator* call = javascript()->CallFunction(args->length() + 2, flags);
|
| Node* value = ProcessArguments(call, args->length() + 2);
|
| PrepareFrameState(value, expr->id(), ast_context()->GetStateCombine());
|
| ast_context()->ProduceValue(value);
|
|
|