diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-10-13 17:45:02 -0700 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-10-13 17:45:02 -0700 |
commit | 33b5f2f7799081eafe04df3278aad40fd4ae3b55 (patch) | |
tree | 46e2840438240411375d3f12f5172c42aa571f95 /deps/v8/src/execution.h | |
parent | 59a5262041dce0760b1f960a900eca8b8ca1138f (diff) | |
download | android-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.tar.gz android-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.tar.bz2 android-node-v8-33b5f2f7799081eafe04df3278aad40fd4ae3b55.zip |
Upgrade V8 to 3.7.0
Diffstat (limited to 'deps/v8/src/execution.h')
-rw-r--r-- | deps/v8/src/execution.h | 13 |
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 |