| Index: src/execution.h
|
| diff --git a/src/execution.h b/src/execution.h
|
| index c6bf63d72f22646a11c926ba9b2fc59d8f60acee..1a9a66c146a797f87669384af92d1faadae6eb21 100644
|
| --- a/src/execution.h
|
| +++ b/src/execution.h
|
| @@ -92,28 +92,36 @@ class Execution : public AllStatic {
|
| bool* caught_exception);
|
|
|
| // ECMA-262 9.3
|
| - static Handle<Object> ToNumber(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToNumber(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.4
|
| - static Handle<Object> ToInteger(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToInteger(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.5
|
| - static Handle<Object> ToInt32(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToInt32(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.6
|
| - static Handle<Object> ToUint32(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToUint32(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.8
|
| - static Handle<Object> ToString(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToString(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.8
|
| - static Handle<Object> ToDetailString(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToDetailString(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // ECMA-262 9.9
|
| - static Handle<Object> ToObject(Handle<Object> obj, bool* exc);
|
| + static Handle<Object> ToObject(
|
| + Isolate* isolate, Handle<Object> obj, bool* exc);
|
|
|
| // Create a new date object from 'time'.
|
| - static Handle<Object> NewDate(double time, bool* exc);
|
| + static Handle<Object> NewDate(
|
| + Isolate* isolate, double time, bool* exc);
|
|
|
| // Create a new regular expression object from 'pattern' and 'flags'.
|
| static Handle<JSRegExp> NewJSRegExp(Handle<String> pattern,
|
| @@ -128,7 +136,8 @@ class Execution : public AllStatic {
|
| Handle<FunctionTemplateInfo> data, bool* exc);
|
| static Handle<JSObject> InstantiateObject(Handle<ObjectTemplateInfo> data,
|
| bool* exc);
|
| - static void ConfigureInstance(Handle<Object> instance,
|
| + static void ConfigureInstance(Isolate* isolate,
|
| + Handle<Object> instance,
|
| Handle<Object> data,
|
| bool* exc);
|
| static Handle<String> GetStackTraceLine(Handle<Object> recv,
|
| @@ -136,8 +145,8 @@ class Execution : public AllStatic {
|
| Handle<Object> pos,
|
| Handle<Object> is_global);
|
| #ifdef ENABLE_DEBUGGER_SUPPORT
|
| - static Object* DebugBreakHelper();
|
| - static void ProcessDebugMessages(bool debug_command_only);
|
| + static Object* DebugBreakHelper(Isolate* isolate);
|
| + static void ProcessDebugMessages(Isolate* isolate, bool debug_command_only);
|
| #endif
|
|
|
| // If the stack guard is triggered, but it is not an actual
|
| @@ -147,14 +156,18 @@ class Execution : public AllStatic {
|
|
|
| // Get a function delegate (or undefined) for the given non-function
|
| // object. Used for support calling objects as functions.
|
| - static Handle<Object> GetFunctionDelegate(Handle<Object> object);
|
| - static Handle<Object> TryGetFunctionDelegate(Handle<Object> object,
|
| + static Handle<Object> GetFunctionDelegate(Isolate* isolate,
|
| + Handle<Object> object);
|
| + static Handle<Object> TryGetFunctionDelegate(Isolate* isolate,
|
| + Handle<Object> object,
|
| bool* has_pending_exception);
|
|
|
| // Get a function delegate (or undefined) for the given non-function
|
| // object. Used for support calling objects as constructors.
|
| - static Handle<Object> GetConstructorDelegate(Handle<Object> object);
|
| - static Handle<Object> TryGetConstructorDelegate(Handle<Object> object,
|
| + static Handle<Object> GetConstructorDelegate(Isolate* isolate,
|
| + Handle<Object> object);
|
| + static Handle<Object> TryGetConstructorDelegate(Isolate* isolate,
|
| + Handle<Object> object,
|
| bool* has_pending_exception);
|
| };
|
|
|
|
|