X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2F3rdparty%2Fv8%2Fsrc%2Fexecution.h;h=c33a67516f2bfd38702603989c2d5e76a097e664;hb=2df5be48c08803b6bafafe9c69959a4076022293;hp=532e5d8b6d00265971dd903f39b0afc643e40696;hpb=8a4d849a0152c76bd9107a1b38a641cf8c0ff226;p=profile%2Fivi%2Fqtjsbackend.git diff --git a/src/3rdparty/v8/src/execution.h b/src/3rdparty/v8/src/execution.h index 532e5d8..c33a675 100644 --- a/src/3rdparty/v8/src/execution.h +++ b/src/3rdparty/v8/src/execution.h @@ -45,6 +45,10 @@ enum InterruptFlag { GC_REQUEST = 1 << 6 }; + +class Isolate; + + class Execution : public AllStatic { public: // Call a function, the caller supplies a receiver and an array @@ -144,12 +148,13 @@ class Execution : public AllStatic { Handle is_global); #ifdef ENABLE_DEBUGGER_SUPPORT static Object* DebugBreakHelper(); - static void ProcessDebugMesssages(bool debug_command_only); + static void ProcessDebugMessages(bool debug_command_only); #endif // If the stack guard is triggered, but it is not an actual // stack overflow, then handle the interruption accordingly. - MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt(); + MUST_USE_RESULT static MaybeObject* HandleStackGuardInterrupt( + Isolate* isolate); // Get a function delegate (or undefined) for the given non-function // object. Used for support calling objects as functions. @@ -166,7 +171,6 @@ class Execution : public AllStatic { class ExecutionAccess; -class Isolate; // StackGuard contains the handling of the limits that are used to limit the @@ -230,6 +234,7 @@ class StackGuard { Address address_of_real_jslimit() { return reinterpret_cast
(&thread_local_.real_jslimit_); } + bool ShouldPostponeInterrupts(); private: StackGuard();