WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
33163
Unify JSC::UStringImpl's & WebCore::StringImpl's string hashing methods.
https://bugs.webkit.org/show_bug.cgi?id=33163
Summary
Unify JSC::UStringImpl's & WebCore::StringImpl's string hashing methods.
Gavin Barraclough
Reported
2010-01-04 11:32:15 PST
Copy & paste is great.
Attachments
The patch
(13.77 KB, patch)
2010-01-04 11:36 PST
,
Gavin Barraclough
sam
: review+
Details
Formatted Diff
Diff
make inclusion of the wtf/unicode/Unicode.h explicit.
(13.79 KB, patch)
2010-01-04 13:29 PST
,
Gavin Barraclough
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Gavin Barraclough
Comment 1
2010-01-04 11:36:03 PST
Created
attachment 45810
[details]
The patch
WebKit Review Bot
Comment 2
2010-01-04 11:40:47 PST
Attachment 45810
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 JavaScriptCore/runtime/UStringImpl.h:163: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/runtime/UStringImpl.h:164: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/HashFunctions.h:217: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] JavaScriptCore/wtf/HashFunctions.h:255: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] JavaScriptCore/wtf/HashFunctions.h:294: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 5
WebKit Review Bot
Comment 3
2010-01-04 11:41:02 PST
Attachment 45810
[details]
did not build on chromium: Build output:
http://webkit-commit-queue.appspot.com/results/161642
Sam Weinig
Comment 4
2010-01-04 11:42:13 PST
Comment on
attachment 45810
[details]
The patch YES.
Gavin Barraclough
Comment 5
2010-01-04 13:29:02 PST
Created
attachment 45826
[details]
make inclusion of the wtf/unicode/Unicode.h explicit.
WebKit Review Bot
Comment 6
2010-01-04 13:31:13 PST
Attachment 45826
[details]
did not pass style-queue: Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1 JavaScriptCore/runtime/UStringImpl.h:163: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/runtime/UStringImpl.h:164: More than one command on the same line [whitespace/newline] [4] JavaScriptCore/wtf/HashFunctions.h:25: wtf includes should be <wtf/file.h> instead of "wtf/file.h". [build/include] [4] JavaScriptCore/wtf/HashFunctions.h:217: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] JavaScriptCore/wtf/HashFunctions.h:255: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] JavaScriptCore/wtf/HashFunctions.h:294: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 6
Gavin Barraclough
Comment 7
2010-01-04 13:48:05 PST
Comment on
attachment 45826
[details]
make inclusion of the wtf/unicode/Unicode.h explicit. Clearing review flag, landing based on Sam's original r+ - only set review on this to get the chromium buildbot to take a sniff at it. :-)
Gavin Barraclough
Comment 8
2010-01-04 14:18:45 PST
Committed revision 52758.
Eric Seidel (no email)
Comment 9
2010-01-04 16:29:30 PST
I do not understand why, but this change seems to have broken all of the bots:
http://trac.webkit.org/changeset/52758
http://build.webkit.org/builders/Leopard%20Intel%20Release%20%28Tests%29/builds/8930
http://build.webkit.org/builders/SnowLeopard%20Intel%20Release%20%28Tests%29/builds/3854
http://build.webkit.org/builders/Windows%20Release%20%28Build%29/builds/8585
Compiles are failing. Either of DumpRenderTree support library or for windows: Creating library C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\lib\JavaScriptCore.lib and object C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\lib\JavaScriptCore.exp JavaScriptCore.exp : error LNK2001: unresolved external symbol "public: static unsigned int __cdecl JSC::UStringImpl::computeHash(char const *,int)" (?computeHash@UStringImpl@JSC@@SAIPBDH@Z) C:\cygwin\home\buildbot\slave\win-release\build\WebKitBuild\bin\JavaScriptCore.dll : fatal error LNK1120: 1 unresolved externals I recommend we roll this out.
Eric Seidel (no email)
Comment 10
2010-01-04 16:35:16 PST
Mark rolled it out in
http://trac.webkit.org/changeset/52768
.
Gavin Barraclough
Comment 11
2010-01-04 17:34:41 PST
Fixed, with thanks to bdash, relanding. Committed revision 52776.
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