Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Unified Diff: src/debug.h

Issue 264333007: Add OnCompileError handler and v8::CompileError debug event (Closed) Base URL: git://github.com/v8/v8.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/debug.h
diff --git a/src/debug.h b/src/debug.h
index 5224d1c9a05d24aff4521e3b65f0f6df643a8803..82925302a9fae3b6f520581240cf52d57064b421 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -364,17 +364,12 @@ class PromiseOnStack {
// DebugInfo.
class Debug {
public:
- enum AfterCompileFlags {
- NO_AFTER_COMPILE_FLAGS,
yurys 2014/06/11 11:52:14 It might make sense to do this clean-up in a separ
- SEND_WHEN_DEBUGGING
- };
-
// 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);
+ void OnAfterCompile(Handle<Script> script);
void OnScriptCollected(int id);
// API facing.

Powered by Google App Engine
This is Rietveld 408576698