Title: [203730] trunk/Source/_javascript_Core
Revision
203730
Author
[email protected]
Date
2016-07-26 11:58:41 -0700 (Tue, 26 Jul 2016)

Log Message

Remove unused DEBUG_WITH_BREAKPOINT configuration.
https://bugs.webkit.org/show_bug.cgi?id=160203

Reviewed by Keith Miller.

* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitDebugHook):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (203729 => 203730)


--- trunk/Source/_javascript_Core/ChangeLog	2016-07-26 18:58:32 UTC (rev 203729)
+++ trunk/Source/_javascript_Core/ChangeLog	2016-07-26 18:58:41 UTC (rev 203730)
@@ -1,3 +1,13 @@
+2016-07-26  Mark Lam  <[email protected]>
+
+        Remove unused DEBUG_WITH_BREAKPOINT configuration.
+        https://bugs.webkit.org/show_bug.cgi?id=160203
+
+        Reviewed by Keith Miller.
+
+        * bytecompiler/BytecodeGenerator.cpp:
+        (JSC::BytecodeGenerator::emitDebugHook):
+
 2016-07-25  Benjamin Poulain  <[email protected]>
 
         Unreviewed, rolling out r203703.

Modified: trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp (203729 => 203730)


--- trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2016-07-26 18:58:32 UTC (rev 203729)
+++ trunk/Source/_javascript_Core/bytecompiler/BytecodeGenerator.cpp	2016-07-26 18:58:41 UTC (rev 203730)
@@ -3411,13 +3411,9 @@
 
 void BytecodeGenerator::emitDebugHook(DebugHookID debugHookID, unsigned line, unsigned charOffset, unsigned lineStart)
 {
-#if ENABLE(DEBUG_WITH_BREAKPOINT)
-    if (debugHookID != DidReachBreakpoint)
-        return;
-#else
     if (!m_shouldEmitDebugHooks)
         return;
-#endif
+
     JSTextPosition divot(line, charOffset, lineStart);
     emitExpressionInfo(divot, divot, divot);
     emitOpcode(op_debug);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to