summaryrefslogtreecommitdiff
path: root/deps/v8/src/execution.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-10-10 11:52:42 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-10-10 11:52:42 -0700
commit56e6952e639ba1557a5b22333788583e9e39fa29 (patch)
tree4937ad22037de82e7be0caf7d6bc2a4d4655db51 /deps/v8/src/execution.h
parent0fec21365612621cedaabeec6300d97e49c601c0 (diff)
downloadandroid-node-v8-56e6952e639ba1557a5b22333788583e9e39fa29.tar.gz
android-node-v8-56e6952e639ba1557a5b22333788583e9e39fa29.tar.bz2
android-node-v8-56e6952e639ba1557a5b22333788583e9e39fa29.zip
Upgrade V8 to 3.6.6
Diffstat (limited to 'deps/v8/src/execution.h')
-rw-r--r--deps/v8/src/execution.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/deps/v8/src/execution.h b/deps/v8/src/execution.h
index 5cd7141fc2..f2d17d0792 100644
--- a/deps/v8/src/execution.h
+++ b/deps/v8/src/execution.h
@@ -1,4 +1,4 @@
-// Copyright 2006-2008 the V8 project authors. All rights reserved.
+// Copyright 2011 the V8 project authors. All rights reserved.
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
@@ -41,7 +41,8 @@ enum InterruptFlag {
DEBUGCOMMAND = 1 << 2,
PREEMPT = 1 << 3,
TERMINATE = 1 << 4,
- RUNTIME_PROFILER_TICK = 1 << 5
+ RUNTIME_PROFILER_TICK = 1 << 5,
+ GC_REQUEST = 1 << 6
};
class Execution : public AllStatic {
@@ -60,7 +61,7 @@ class Execution : public AllStatic {
static Handle<Object> Call(Handle<Object> callable,
Handle<Object> receiver,
int argc,
- Object*** args,
+ Handle<Object> argv[],
bool* pending_exception,
bool convert_receiver = false);
@@ -73,7 +74,7 @@ class Execution : public AllStatic {
//
static Handle<Object> New(Handle<JSFunction> func,
int argc,
- Object*** args,
+ Handle<Object> argv[],
bool* pending_exception);
// Call a function, just like Call(), but make sure to silently catch
@@ -83,7 +84,7 @@ class Execution : public AllStatic {
static Handle<Object> TryCall(Handle<JSFunction> func,
Handle<Object> receiver,
int argc,
- Object*** args,
+ Handle<Object> argv[],
bool* caught_exception);
// ECMA-262 9.2
@@ -196,6 +197,8 @@ class StackGuard {
bool IsDebugCommand();
void DebugCommand();
#endif
+ bool IsGCRequest();
+ void RequestGC();
void Continue(InterruptFlag after_what);
// This provides an asynchronous read of the stack limits for the current