v8/include
vegorov@chromium.org 64d2dfa232 Introduce API to temporarily interrupt long running JavaScript code.
It is different from termination API as interrupted JavaScript will continue to execute normally when registered InterruptCallback returns.

  /**
   * Request V8 to interrupt long running JavaScript code and invoke
   * the given |callback| passing the given |data| to it. After |callback|
   * returns control will be returned to the JavaScript code.
   * At any given moment V8 can remember only a single callback for the very
   * last interrupt request.
   * Can be called from another thread without acquiring a |Locker|.
   * Registered |callback| must not reenter interrupted Isolate.
   */
  void RequestInterrupt(InterruptCallback callback, void* data);

  /**
   * Clear interrupt request created by |RequestInterrupt|.
   * Can be called from another thread without acquiring a |Locker|.
   */
  void ClearInterrupt();

Fix Hydrogen SCE pass to avoid eliminating stack guards too aggressively. Only normal JavaScript functions are guaranteed to have stack guard in the prologue. If function is a builtin or has a custom call IC it will lack one.

BUG=
R=danno@chromium.org, dcarney@chromium.org

Review URL: https://codereview.chromium.org/102063004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18363 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2013-12-18 18:38:35 +00:00
..
v8-debug.h Remove default isolate usage from almost all tests 2013-09-19 07:33:45 +00:00
v8-platform.h Reland r17877 - Introduce a v8::Platform class that bundles embedder callbacks 2013-11-21 14:07:06 +00:00
v8-profiler.h Delete several deprecated methods on v8::CpuProfiler 2013-12-18 08:59:09 +00:00
v8-testing.h Re-land "Add methods to enable configuration of ResourceConstraints based on limits derived at runtime." 2013-09-27 10:53:07 +00:00
v8.h Introduce API to temporarily interrupt long running JavaScript code. 2013-12-18 18:38:35 +00:00
v8config.h Fix compilation with GCC 4.8 2013-11-12 12:09:38 +00:00
v8stdint.h Move OS/compiler/feature detection to public v8config.h header. 2013-08-23 07:32:25 +00:00