WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
113617
Move Region into its own header
https://bugs.webkit.org/show_bug.cgi?id=113617
Summary
Move Region into its own header
Mark Hahnenberg
Reported
2013-03-29 16:01:39 PDT
BlockAllocator.h is getting a little overloaded. We should move the Region class into its own header, since it's pretty independent from the BlockAllocator.
Attachments
Patch
(16.95 KB, patch)
2013-03-29 16:07 PDT
,
Mark Hahnenberg
no flags
Details
Formatted Diff
Diff
Patch
(17.12 KB, patch)
2013-03-29 16:35 PDT
,
Mark Hahnenberg
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Mark Hahnenberg
Comment 1
2013-03-29 16:07:40 PDT
Created
attachment 195813
[details]
Patch
Early Warning System Bot
Comment 2
2013-03-29 16:19:00 PDT
Comment on
attachment 195813
[details]
Patch
Attachment 195813
[details]
did not pass qt-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17311740
Mark Hahnenberg
Comment 3
2013-03-29 16:35:03 PDT
Created
attachment 195818
[details]
Patch
WebKit Review Bot
Comment 4
2013-03-29 16:38:14 PDT
Attachment 195818
[details]
did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/GNUmakefile.list.am', u'Source/JavaScriptCore/JavaScriptCore.gypi', u'Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj', u'Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj', u'Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters', u'Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj', u'Source/JavaScriptCore/heap/BlockAllocator.h', u'Source/JavaScriptCore/heap/Region.h']" exit_code: 1 Source/JavaScriptCore/heap/Region.h:26: #ifndef header guard has wrong style, please use: Region_h [build/header_guard] [5] Total errors found: 1 in 9 files If any of these errors are false positives, please file a bug against check-webkit-style.
Mark Hahnenberg
Comment 5
2013-03-29 16:39:25 PDT
(In reply to
comment #4
)
>
Attachment 195818
[details]
did not pass style-queue: > > Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/GNUmakefile.list.am', u'Source/JavaScriptCore/JavaScriptCore.gypi', u'Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj', u'Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj', u'Source/JavaScriptCore/JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters', u'Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj', u'Source/JavaScriptCore/heap/BlockAllocator.h', u'Source/JavaScriptCore/heap/Region.h']" exit_code: 1 > Source/JavaScriptCore/heap/Region.h:26: #ifndef header guard has wrong style, please use: Region_h [build/header_guard] [5] > Total errors found: 1 in 9 files > > > If any of these errors are false positives, please file a bug against check-webkit-style.
I had to do this because Region_h is used by another header in WebCore, and whichever one gets included first in a translation unit wins, causing build errors.
Geoffrey Garen
Comment 6
2013-03-29 16:51:08 PDT
Comment on
attachment 195818
[details]
Patch r=me, please change to "Region_h", unless there's some conflict with that.
Mark Hahnenberg
Comment 7
2013-03-29 16:54:47 PDT
(In reply to
comment #6
)
> (From update of
attachment 195818
[details]
) > r=me, please change to "Region_h", unless there's some conflict with that.
Yeah, there's a conflict with a header in WebCore.
WebKit Review Bot
Comment 8
2013-03-30 12:00:09 PDT
Comment on
attachment 195818
[details]
Patch Clearing flags on attachment: 195818 Committed
r147282
: <
http://trac.webkit.org/changeset/147282
>
WebKit Review Bot
Comment 9
2013-03-30 12:00:12 PDT
All reviewed patches have been landed. Closing bug.
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