Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 29955faff1919b7ed05ec39f5e43a72750f2780e..b16e7396ad45e6410ee96066fead715aad75cd3b 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -157,7 +157,7 @@ Handle<Object> Execution::Call(Handle<Object> callable, |
// In non-strict mode, convert receiver. |
if (convert_receiver && !receiver->IsJSReceiver() && |
- !func->shared()->native() && !func->shared()->strict_mode()) { |
+ !func->shared()->native() && func->shared()->is_classic_mode()) { |
if (receiver->IsUndefined() || receiver->IsNull()) { |
Object* global = func->context()->global()->global_receiver(); |
// Under some circumstances, 'global' can be the JSBuiltinsObject |