WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125025
Finally remove those DFG_ENABLE things
https://bugs.webkit.org/show_bug.cgi?id=125025
Summary
Finally remove those DFG_ENABLE things
Filip Pizlo
Reported
2013-11-29 20:59:23 PST
Using C preprocessor macros to control the internal debugging functionality of a compiler is insane. It means that the debug support isn't tested all the time, it isn't even built all the time, and it makes it challenging to read the code because of a bunch of #if's littered in the most complex places (after all it's the most complex algorithms that need debug prints). We now have Options::verboseCompilation and friends, which doesn't suffer as many of those problems. We should get rid of the old DFG_ENABLE preprocessor flags, because this will cleanse the codebase of the insanity and it will guide would-be DFG hackers towards the right way of getting debug dumps (i.e. the commandline options).
Attachments
the patch
(69.08 KB, patch)
2013-11-29 21:03 PST
,
Filip Pizlo
sam
: review+
eflews.bot
: commit-queue-
Details
Formatted Diff
Diff
patch for landing
(69.67 KB, patch)
2013-11-29 21:53 PST
,
Filip Pizlo
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Filip Pizlo
Comment 1
2013-11-29 21:03:19 PST
Created
attachment 218085
[details]
the patch
Sam Weinig
Comment 2
2013-11-29 21:13:57 PST
rs=me
EFL EWS Bot
Comment 3
2013-11-29 21:30:58 PST
Comment on
attachment 218085
[details]
the patch
Attachment 218085
[details]
did not pass efl-ews (efl): Output:
http://webkit-queues.appspot.com/results/39978148
Build Bot
Comment 4
2013-11-29 21:37:20 PST
Comment on
attachment 218085
[details]
the patch
Attachment 218085
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-queues.appspot.com/results/39918130
Filip Pizlo
Comment 5
2013-11-29 21:46:35 PST
The build fails are because I forgot to give this release build love; the fixes are all trivial.
Filip Pizlo
Comment 6
2013-11-29 21:53:02 PST
Created
attachment 218087
[details]
patch for landing This one should work.
Filip Pizlo
Comment 7
2013-11-30 09:21:05 PST
Landed in
http://trac.webkit.org/changeset/159886
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug