Index: src/debug.h |
diff --git a/src/debug.h b/src/debug.h |
index b672940c0f9ef58738c3d2dfeb8bfc91267b9526..39464a272f04874360be889f8bd7669101993110 100644 |
--- a/src/debug.h |
+++ b/src/debug.h |
@@ -372,6 +372,7 @@ class Debug { |
// Debug event triggers. |
void OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue); |
void OnException(Handle<Object> exception, bool uncaught); |
+ void OnCompileError(Handle<Script> script); |
void OnBeforeCompile(Handle<Script> script); |
void OnAfterCompile(Handle<Script> script, |
AfterCompileFlags after_compile_flags); |
@@ -548,7 +549,7 @@ class Debug { |
bool uncaught, |
Handle<Object> promise); |
MUST_USE_RESULT MaybeHandle<Object> MakeCompileEvent( |
- Handle<Script> script, bool before); |
+ Handle<Script> script, v8::DebugEvent type); |
MUST_USE_RESULT MaybeHandle<Object> MakeScriptCollectedEvent(int id); |
// Mirror cache handling. |