| Index: src/execution.h
|
| ===================================================================
|
| --- src/execution.h (revision 7948)
|
| +++ src/execution.h (working copy)
|
| @@ -28,6 +28,8 @@
|
| #ifndef V8_EXECUTION_H_
|
| #define V8_EXECUTION_H_
|
|
|
| +#include "allocation.h"
|
| +
|
| namespace v8 {
|
| namespace internal {
|
|
|
| @@ -52,7 +54,7 @@
|
| // *pending_exception tells whether the invoke resulted in
|
| // a pending exception.
|
| //
|
| - static Handle<Object> Call(Handle<JSFunction> func,
|
| + static Handle<Object> Call(Handle<Object> callable,
|
| Handle<Object> receiver,
|
| int argc,
|
| Object*** args,
|
| @@ -145,6 +147,8 @@
|
| // 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,
|
| + bool* has_pending_exception);
|
| };
|
|
|
|
|
| @@ -257,7 +261,7 @@
|
| void Clear();
|
|
|
| // Returns true if the heap's stack limits should be set, false if not.
|
| - bool Initialize();
|
| + bool Initialize(Isolate* isolate);
|
|
|
| // The stack limit is split into a JavaScript and a C++ stack limit. These
|
| // two are the same except when running on a simulator where the C++ and
|
|
|