diff options
author | Ryan <ry@tinyclouds.org> | 2009-08-19 16:37:15 +0200 |
---|---|---|
committer | Ryan <ry@tinyclouds.org> | 2009-08-19 16:37:15 +0200 |
commit | 0cec74d03dc6a1735e731fe06056a1731e14c0df (patch) | |
tree | 9606bcb9afeba305a7b2a1ac4c518ded63a25d89 /deps/v8/src/debug.h | |
parent | b590a45849307f5544b7a95854f45064527105ad (diff) | |
download | node-new-0cec74d03dc6a1735e731fe06056a1731e14c0df.tar.gz |
Upgrade v8 to 1.3.5
Diffstat (limited to 'deps/v8/src/debug.h')
-rw-r--r-- | deps/v8/src/debug.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deps/v8/src/debug.h b/deps/v8/src/debug.h index 970dbbe5ce..5b0273aa22 100644 --- a/deps/v8/src/debug.h +++ b/deps/v8/src/debug.h @@ -238,7 +238,10 @@ class Debug { // Returns whether the operation succeeded. static bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared); + // Returns true if the current stub call is patched to call the debugger. static bool IsDebugBreak(Address addr); + // Returns true if the current return statement has been patched to be + // a debugger breakpoint. static bool IsDebugBreakAtReturn(RelocInfo* rinfo); // Check whether a code stub with the specified major key is a possible break @@ -366,6 +369,7 @@ class Debug { // The x64 JS return sequence is padded with int3 to make it large // enough to hold a call instruction when the debugger patches it. + static const int kX64CallInstructionLength = 13; static const int kX64JSReturnSequenceLength = 13; // Code generator routines. |