Index: src/objects.cc |
=================================================================== |
--- src/objects.cc (revision 8946) |
+++ src/objects.cc (working copy) |
@@ -2318,7 +2318,8 @@ |
if (has_exception) return Failure::Exception(); |
Object* bool_result = result->ToBoolean(); |
- if (mode == STRICT_DELETION && bool_result == GetHeap()->false_value()) { |
+ if (mode == STRICT_DELETION && |
+ bool_result == isolate->heap()->false_value()) { |
Vitaly Repeshko
2011/08/17 12:27:39
Whoa, nice catch!
|
Handle<Object> args[] = { handler, trap_name }; |
Handle<Object> error = isolate->factory()->NewTypeError( |
"handler_failed", HandleVector(args, ARRAY_SIZE(args))); |