| Index: include/v8.h
|
| diff --git a/include/v8.h b/include/v8.h
|
| index 62a1cb32906e57d8641373278678bb73b034ac63..aa392b7c7cc68195a4f95aab07373b853dd2bfef 100644
|
| --- a/include/v8.h
|
| +++ b/include/v8.h
|
| @@ -3791,12 +3791,7 @@ typedef void (*FatalErrorCallback)(const char* location, const char* message);
|
| typedef void (*MessageCallback)(Handle<Message> message, Handle<Value> error);
|
|
|
|
|
| -/**
|
| - * Schedules an exception to be thrown when returning to JavaScript. When an
|
| - * exception has been scheduled it is illegal to invoke any JavaScript
|
| - * operation; the caller must return immediately and only after the exception
|
| - * has been handled does it become legal to invoke JavaScript operations.
|
| - */
|
| +// TODO(dcarney): remove. Use Isolate::ThrowException instead.
|
| Handle<Value> V8_EXPORT ThrowException(Handle<Value> exception);
|
|
|
| /**
|
| @@ -4052,6 +4047,14 @@ class V8_EXPORT Isolate {
|
| Local<Context> GetEnteredContext();
|
|
|
| /**
|
| + * Schedules an exception to be thrown when returning to JavaScript. When an
|
| + * exception has been scheduled it is illegal to invoke any JavaScript
|
| + * operation; the caller must return immediately and only after the exception
|
| + * has been handled does it become legal to invoke JavaScript operations.
|
| + */
|
| + Local<Value> V8_EXPORT ThrowException(Local<Value> exception);
|
| +
|
| + /**
|
| * Allows the host application to group objects together. If one
|
| * object in the group is alive, all objects in the group are alive.
|
| * After each garbage collection, object groups are removed. It is
|
|
|