aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/execution.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-09-15 09:41:08 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-09-15 09:42:06 -0700
commit1b15af9dd2bf4adb7a2e73ae17a12e2e98a88f72 (patch)
treefeede6d06b8c99b92e29a9fdcf0e9ade05b981d0 /deps/v8/src/execution.h
parentf8b90946aec53b453d82dd66a4d812ec86487629 (diff)
downloadandroid-node-v8-1b15af9dd2bf4adb7a2e73ae17a12e2e98a88f72.tar.gz
android-node-v8-1b15af9dd2bf4adb7a2e73ae17a12e2e98a88f72.tar.bz2
android-node-v8-1b15af9dd2bf4adb7a2e73ae17a12e2e98a88f72.zip
Upgrade V8 to 3.6.4
Diffstat (limited to 'deps/v8/src/execution.h')
-rw-r--r--deps/v8/src/execution.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/deps/v8/src/execution.h b/deps/v8/src/execution.h
index bb5f804506..5cd7141fc2 100644
--- a/deps/v8/src/execution.h
+++ b/deps/v8/src/execution.h
@@ -53,11 +53,16 @@ class Execution : public AllStatic {
// *pending_exception tells whether the invoke resulted in
// a pending exception.
//
+ // When convert_receiver is set, and the receiver is not an object,
+ // and the function called is not in strict mode, receiver is converted to
+ // an object.
+ //
static Handle<Object> Call(Handle<Object> callable,
Handle<Object> receiver,
int argc,
Object*** args,
- bool* pending_exception);
+ bool* pending_exception,
+ bool convert_receiver = false);
// Construct object from function, the caller supplies an array of
// arguments. Arguments are Object* type. After function returns,