Bug 127805 - Remove some unneeded debugger code.
Summary: Remove some unneeded debugger code.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Mark Lam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-28 15:04 PST by Mark Lam
Modified: 2014-01-29 09:28 PST (History)
8 users (show)

See Also:


Attachments
the patch. (18.36 KB, patch)
2014-01-28 15:06 PST, Mark Lam
oliver: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Lam 2014-01-28 15:04:54 PST
JSC will now always support the debugger.  Hence, the #if ENABLE(JAVASCRIPT_DEBUGGER) checks can be removed.

DebuggerCallFrame::callFrame() is also unused and will be removed.
Comment 1 Mark Lam 2014-01-28 15:06:58 PST
Created attachment 222502 [details]
the patch.
Comment 2 Mark Lam 2014-01-28 15:26:47 PST
Thanks.  Landed in r162970: <http://trac.webkit.org/r162970>.
Comment 3 Joseph Pecoraro 2014-01-28 15:33:26 PST
Comment on attachment 222502 [details]
the patch.

View in context: https://bugs.webkit.org/attachment.cgi?id=222502&action=review

> Source/JavaScriptCore/ChangeLog:9
> +        JSC will now always support the debugger. Hence, the #if ENABLE(JAVASCRIPT_DEBUGGER)
> +        checks can be removed.

Lets just remove the ENABLE flag everywhere.
Comment 4 Csaba Osztrogonác 2014-01-29 09:28:08 PST
(In reply to comment #3)
> (From update of attachment 222502 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=222502&action=review
> 
> > Source/JavaScriptCore/ChangeLog:9
> > +        JSC will now always support the debugger. Hence, the #if ENABLE(JAVASCRIPT_DEBUGGER)
> > +        checks can be removed.
> 
> Lets just remove the ENABLE flag everywhere.

Let's do it in https://bugs.webkit.org/show_bug.cgi?id=127840