| Index: src/runtime/runtime-debug.cc
|
| diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc
|
| index d300e0195a217d74da54d7d90253909c7431c531..492d1f01a28a39c929f1a41a49b182ab00df65fb 100644
|
| --- a/src/runtime/runtime-debug.cc
|
| +++ b/src/runtime/runtime-debug.cc
|
| @@ -632,7 +632,7 @@ RUNTIME_FUNCTION(Runtime_GetFrameDetails) {
|
| // THIS MUST BE DONE LAST SINCE WE MIGHT ADVANCE
|
| // THE FRAME ITERATOR TO WRAP THE RECEIVER.
|
| Handle<Object> receiver(it.frame()->receiver(), isolate);
|
| - if (!receiver->IsJSObject() && shared->strict_mode() == SLOPPY &&
|
| + if (!receiver->IsJSObject() && !is_strict(shared->language_mode()) &&
|
| !function->IsBuiltin()) {
|
| // If the receiver is not a JSObject and the function is not a
|
| // builtin or strict-mode we have hit an optimization where a
|
|
|