Summary: | Ensure all values are correctly tagged in the registerfile | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Oliver Hunt <oliver> | ||||||||||
Component: | New Bugs | Assignee: | Oliver Hunt <oliver> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | abarth, aroben, buildbot, bweinstein, commit-queue, eric, rniwa, webkit-ews, webkit.review.bot | ||||||||||
Priority: | P2 | ||||||||||||
Version: | 528+ (Nightly build) | ||||||||||||
Hardware: | Other | ||||||||||||
OS: | OS X 10.5 | ||||||||||||
Bug Depends on: | 56251 | ||||||||||||
Bug Blocks: | |||||||||||||
Attachments: |
|
Description
Oliver Hunt
2011-03-11 12:52:30 PST
Created attachment 85516 [details]
Patch
Attachment 85516 [details] did not build on qt: Build output: http://queues.webkit.org/results/8132369 Created attachment 85520 [details]
Patch
Attachment 85516 [details] did not build on win: Build output: http://queues.webkit.org/results/8132382 Comment on attachment 85520 [details] Patch Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj change should probably be reverted? > *this = JSValue(reinterpret_cast<JSCell*>(activation)); These casts are all incorrect, they should be static_casts (reinterpret_cast is almost always the wrong cast when casting within a class hierarchy). But can't you just delete all these overloaded= operators? - why doesn't the compiler just call the operator=(JSValue) automatically? If we're going to access the two halves of the value like we do in JSVALUE32_64 it seems like we should have the IntValueDescriptor defined in JSValue, where it is for JSVALUE32_64 (better still, unify the two!) r- for the reinterpreting. Attachment 85520 [details] did not build on win: Build output: http://queues.webkit.org/results/8132411 Created attachment 85543 [details]
Patch
Attachment 85543 [details] did not build on qt: Build output: http://queues.webkit.org/results/8135475 Attachment 85543 [details] did not build on win: Build output: http://queues.webkit.org/results/8133485 Created attachment 85551 [details]
Patch
Comment on attachment 85551 [details]
Patch
r is me
Attachment 85551 [details] did not build on win: Build output: http://queues.webkit.org/results/8149539 Comment on attachment 85551 [details] Patch Clearing flags on attachment: 85551 Committed r80919: <http://trac.webkit.org/changeset/80919> All reviewed patches have been landed. Closing bug. http://trac.webkit.org/changeset/80919 might have broken Windows Release (Build) and Windows Debug (Build) It seems like this change caused a Windows build failure: http://build.webkit.org/builders/Windows%20Release%20%28Build%29/builds/13160 The commit queue is broken and needs to be disabled. I'll re-land on monday with the windows fix. > The commit queue is broken and needs to be disabled. https://bugs.webkit.org/show_bug.cgi?id=56251#c5 Committed r81040: <http://trac.webkit.org/changeset/81040> http://trac.webkit.org/changeset/81040 might have broken Windows Release (Build) and Windows Debug (Build) |