Index: src/execution.cc |
diff --git a/src/execution.cc b/src/execution.cc |
index 7ad2dc0be8d5c62b153adf04fdf455a2091db890..7d5f889014a66d8953466c0fe50ae9cc6ca93a02 100644 |
--- a/src/execution.cc |
+++ b/src/execution.cc |
@@ -162,7 +162,7 @@ Handle<Object> Execution::Call(Handle<Object> callable, |
!func->shared()->native() && !func->shared()->strict_mode()) { |
if (receiver->IsUndefined() || receiver->IsNull()) { |
Object* global = func->context()->global()->global_receiver(); |
- // For reasons that escape me, 'global' can be the JSBuiltinsObject |
+ // For somehwat unclear reasons, 'global' can be the JSBuiltinsObject |
Jakob Kummerow
2011/09/14 07:23:26
nit: s/hwat/what/
Or just remove the "For...reason
rossberg
2011/09/14 07:30:58
Done.
|
// under some circumstances. In that case, don't rewrite. |
// FWIW, the same holds for GetIsolate()->global()->global_receiver(). |
if (!global->IsJSBuiltinsObject()) receiver = Handle<Object>(global); |