Index: src/runtime/runtime-object.cc |
diff --git a/src/runtime/runtime-object.cc b/src/runtime/runtime-object.cc |
index d2f1ee88e784c28230df03fac664dbdf8ded6151..d00ce5276d6ae9fcce0524c278ad8a4652499c3a 100644 |
--- a/src/runtime/runtime-object.cc |
+++ b/src/runtime/runtime-object.cc |
@@ -1204,7 +1204,7 @@ RUNTIME_FUNCTION(Runtime_IsJSGlobalProxy) { |
static bool IsValidAccessor(Handle<Object> obj) { |
- return obj->IsUndefined() || obj->IsSpecFunction() || obj->IsNull(); |
+ return obj->IsUndefined() || obj->IsCallable() || obj->IsNull(); |
} |