WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
71456
[PATCH] Move duplicates of SYMBOL_STRING* macros to the single location
https://bugs.webkit.org/show_bug.cgi?id=71456
Summary
[PATCH] Move duplicates of SYMBOL_STRING* macros to the single location
Priit Laes (IRC: plaes)
Reported
2011-11-03 03:26:33 PDT
Currently the SYMBOL_STRING* macros are defined in three separate places.
Attachments
webkit-bug-71456-symbol-string.patch
(5.50 KB, patch)
2011-11-03 03:46 PDT
,
Priit Laes (IRC: plaes)
barraclough
: review-
Details
Formatted Diff
Diff
new patch
(9.07 KB, patch)
2011-11-08 17:33 PST
,
Gavin Barraclough
sam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Priit Laes (IRC: plaes)
Comment 1
2011-11-03 03:46:33 PDT
Created
attachment 113454
[details]
webkit-bug-71456-symbol-string.patch Smoketested on x86-64 only with release build. Also, this patch was made after rollout of
r99089
in
bug #71448
Gavin Barraclough
Comment 2
2011-11-03 11:09:44 PDT
Comment on
attachment 113454
[details]
webkit-bug-71456-symbol-string.patch I have a local change to carve out of a big patch that would do something similar to this, so agree in principal, and would be happy to see something like this land - but I'm not sure that Platform.h is really the right place for things like this to go. After discussing with Sam, I was going to add a new wtf/InlineASM.h file for helper macros like this, but am open to better suggestions. I'm going to clear r- for now, so that no-one is too trigger happy on the r+ while we discuss this.
Priit Laes (IRC: plaes)
Comment 3
2011-11-03 14:22:55 PDT
(In reply to
comment #2
)
> (From update of
attachment 113454
[details]
) > I have a local change to carve out of a big patch that would do something similar to this, so agree in principal, and would be happy to see something like this land - but I'm not sure that Platform.h is really the right place for things like this to go. > > After discussing with Sam, I was going to add a new wtf/InlineASM.h file for helper macros like this, but am open to better suggestions. I'm going to clear r- for now, so that no-one is too trigger happy on the r+ while we discuss this.
wtf/InlineASM.h sounds excellent!
Gavin Barraclough
Comment 4
2011-11-08 17:32:52 PST
Hi Priit, I'm going to make this change, I do hope this doesn't conflict with any changes you have.
Gavin Barraclough
Comment 5
2011-11-08 17:33:30 PST
Created
attachment 114182
[details]
new patch
Darin Adler
Comment 6
2011-11-08 21:27:09 PST
Why is ASM all capitals?
Gavin Barraclough
Comment 7
2011-11-08 21:59:55 PST
fixed in
r99643
(In reply to
comment #6
)
> Why is ASM all capitals?
Hrrrm, that was an error, I guess I accidentally treated it as an acronym rather than an abbreviation. I'm not sure if it's a good idea to fix this now - I could remove InlineASM.h & replace with InlineAsm.h, but might that be problematic on case insensitive file systems? Alternatively, I could rename - AsmHelpers.h was also in the running, that wouldn't have the same issue.
Darin Adler
Comment 8
2011-11-08 22:10:04 PST
(In reply to
comment #7
)
> I'm not sure if it's a good idea to fix this now - I could remove InlineASM.h & replace with InlineAsm.h, but might that be problematic on case insensitive file systems? > > Alternatively, I could rename - AsmHelpers.h was also in the running, that wouldn't have the same issue.
Maybe you could rename it InlineAssembly.h at some point.
Gavin Barraclough
Comment 9
2011-11-08 22:47:34 PST
Okay, will do.
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