Index: src/debug.h |
=================================================================== |
--- src/debug.h (revision 6182) |
+++ src/debug.h (working copy) |
@@ -32,7 +32,6 @@ |
#include "debug-agent.h" |
#include "execution.h" |
#include "factory.h" |
-#include "flags.h" |
#include "hashmap.h" |
#include "platform.h" |
#include "string-stream.h" |
@@ -773,15 +772,6 @@ |
} |
} |
- if (((event == v8::BeforeCompile) || (event == v8::AfterCompile)) && |
- !FLAG_debug_compile_events) { |
- return false; |
- |
- } else if ((event == v8::ScriptCollected) && |
- !FLAG_debug_script_collected_events) { |
- return false; |
- } |
- |
// Currently argument event is not used. |
return !compiling_natives_ && Debugger::IsDebuggerActive(); |
} |