| Index: src/heap.cc
|
| diff --git a/src/heap.cc b/src/heap.cc
|
| index ef1eb77a500ab4c9916506c13e1295d9fb0a9555..cfafe5d7ef02ccb38e755596749ed3b87560e4b7 100644
|
| --- a/src/heap.cc
|
| +++ b/src/heap.cc
|
| @@ -3338,7 +3338,7 @@ MaybeObject* Heap::AllocateArgumentsObject(Object* callee, int length) {
|
| JSObject* boilerplate;
|
| int arguments_object_size;
|
| bool strict_mode_callee = callee->IsJSFunction() &&
|
| - JSFunction::cast(callee)->shared()->strict_mode();
|
| + JSFunction::cast(callee)->shared()->is_strict_or_extended_mode();
|
| if (strict_mode_callee) {
|
| boilerplate =
|
| isolate()->context()->global_context()->
|
|
|