Fixed crash-bug in the code generation for case independent 16 bit backreferences.
Made shells more robust in the presence of string conversion failures (issue 224).
Fixed a potential infinite loop when attempting to resolve eval (issue 221).
Miscellaneous fixes to the new regular expression engine.
Reduced binary by stripping unneeded text from JavaScript library and minifying some JavaScript files.
git-svn-id: http://v8.googlecode.com/svn/trunk@1243 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
diff --git a/src/debug.h b/src/debug.h
index 6520f0c..4ac9221 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -123,6 +123,9 @@
private:
void SetDebugBreak();
void ClearDebugBreak();
+ bool IsDebugBreakAtReturn();
+ void SetDebugBreakAtReturn();
+ void ClearDebugBreakAtReturn();
DISALLOW_COPY_AND_ASSIGN(BreakLocationIterator);
};
@@ -362,7 +365,7 @@
static Handle<Object> MakeNewFunctionEvent(Handle<Object> func,
bool* caught_exception);
static Handle<Object> MakeCompileEvent(Handle<Script> script,
- Handle<Object> script_function,
+ bool before,
bool* caught_exception);
static void OnDebugBreak(Handle<Object> break_points_hit);
static void OnException(Handle<Object> exception, bool uncaught);
@@ -372,6 +375,7 @@
static void OnNewFunction(Handle<JSFunction> fun);
static void ProcessDebugEvent(v8::DebugEvent event,
Handle<Object> event_data);
+ static void SetEventListener(Handle<Object> callback, Handle<Object> data);
static void SetMessageHandler(v8::DebugMessageHandler handler, void* data);
static void SendMessage(Vector<uint16_t> message);
static void ProcessCommand(Vector<const uint16_t> command);
@@ -397,6 +401,8 @@
static bool is_loading_debugger() { return Debugger::is_loading_debugger_; }
private:
+ static Handle<Object> event_listener_; // Global handle to listener
+ static Handle<Object> event_listener_data_;
static bool debugger_active_; // Are there any active debugger?
static bool compiling_natives_; // Are we compiling natives?
static bool is_loading_debugger_; // Are we loading the debugger?