Index: src/handles.cc |
=================================================================== |
--- src/handles.cc (revision 3322) |
+++ src/handles.cc (working copy) |
@@ -327,7 +327,7 @@ |
// object if requested. Otherwise return the undefined value. |
if (create_if_needed) { |
Handle<Object> hidden_obj = Factory::NewJSObject(Top::object_function()); |
- return Handle<Object>(obj->SetHiddenPropertiesObject(*hidden_obj)); |
+ CALL_HEAP_FUNCTION(obj->SetHiddenPropertiesObject(*hidden_obj), Object); |
} else { |
return Factory::undefined_value(); |
} |