diff options
Diffstat (limited to 'V8Binding/v8/src/top.cc')
-rw-r--r-- | V8Binding/v8/src/top.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/V8Binding/v8/src/top.cc b/V8Binding/v8/src/top.cc index 42a2b7e..96d4a01 100644 --- a/V8Binding/v8/src/top.cc +++ b/V8Binding/v8/src/top.cc @@ -611,6 +611,11 @@ Failure* Top::ReThrow(Object* exception, MessageLocation* location) { } +Failure* Top::ThrowIllegalOperation() { + return Throw(Heap::illegal_access_symbol()); +} + + void Top::ScheduleThrow(Object* exception) { // When scheduling a throw we first throw the exception to get the // error reporting if it is uncaught before rescheduling it. |