Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 2c8367d7a1b26a480dd9be27dc0ff14fc2ac0fda..68aa2f363b5136f6308e836915c30e786976d3e2 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -739,10 +739,7 @@ void Isolate::ReportFailedAccessCheck(Handle<JSObject> receiver, |
v8::AccessType type) { |
if (!thread_local_top()->failed_access_check_callback_) { |
Handle<String> message = factory()->InternalizeUtf8String("no access"); |
- Handle<Object> error; |
- ASSIGN_RETURN_ON_EXCEPTION_VALUE( |
- this, error, factory()->NewTypeError(message), /* void */); |
- ScheduleThrow(*error); |
+ ScheduleThrow(*factory()->NewTypeError(message)); |
return; |
} |