RESOLVED FIXED 56000
Move the alignment related macros in Vector.h to the new Alignment.h.
https://bugs.webkit.org/show_bug.cgi?id=56000
Summary Move the alignment related macros in Vector.h to the new Alignment.h.
Renata Hodovan
Reported 2011-03-09 00:49:54 PST
Move the alignment related macros in Vector.h to new Alignment.h.
Attachments
Proposed patch (17.90 KB, patch)
2011-03-09 01:48 PST, Renata Hodovan
levin: review-
Proposed patch (10.83 KB, patch)
2011-04-05 02:49 PDT, Renata Hodovan
no flags
Proposed patch (10.83 KB, patch)
2011-04-05 03:02 PDT, Renata Hodovan
darin: review-
Proposed patch (11.25 KB, patch)
2011-04-11 13:14 PDT, Renata Hodovan
no flags
Proposed patch (11.12 KB, patch)
2011-04-12 01:34 PDT, Renata Hodovan
eric: review+
eric: commit-queue-
Renata Hodovan
Comment 1 2011-03-09 01:48:49 PST
Created attachment 85145 [details] Proposed patch
Darin Adler
Comment 2 2011-03-12 19:51:17 PST
*** Bug 56182 has been marked as a duplicate of this bug. ***
David Levin
Comment 3 2011-03-29 11:38:20 PDT
Comment on attachment 85145 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=85145&action=review You're going to need to add forwarding headers to avoid breaking the mac build. I wonder if a better name for the header would be AlignedBuffer.h since that appears to be the primary thing that it provides so it is fine as is but consider renaming the header. > Source/WebCore/WebCore.xcodeproj/project.pbxproj:3126 > + A19B86F7132670040037F979 /* Alignment.h in Headers */ = {isa = PBXBuildFile; fileRef = A19B86F6132670040037F979 /* Alignment.h */; }; The changes in this file shouldn't be done. This file should be reverted.
Renata Hodovan
Comment 4 2011-03-30 08:51:30 PDT
(In reply to comment #3) > (From update of attachment 85145 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=85145&action=review > > You're going to need to add forwarding headers to avoid breaking the mac build. > > I wonder if a better name for the header would be AlignedBuffer.h since that appears to be the primary thing that it provides so it is fine as is but consider renaming the header. > > > Source/WebCore/WebCore.xcodeproj/project.pbxproj:3126 > > + A19B86F7132670040037F979 /* Alignment.h in Headers */ = {isa = PBXBuildFile; fileRef = A19B86F6132670040037F979 /* Alignment.h */; }; > > The changes in this file shouldn't be done. This file should be reverted. Thanks, but it's already resolved in #56182. Sorry for not closing this bug earlier.
Gabor Loki
Comment 5 2011-03-30 10:55:11 PDT
> Thanks, but it's already resolved in #56182. Sorry for not closing this bug earlier. Well, bug 56182 was a duplicate of this bug, and no patch is landed from there.
Renata Hodovan
Comment 6 2011-03-30 13:19:28 PDT
(In reply to comment #5) > > Thanks, but it's already resolved in #56182. Sorry for not closing this bug earlier. > > Well, bug 56182 was a duplicate of this bug, and no patch is landed from there. Ohh, I was sure it was landed. So, do you want to work on it or may I do it? :)
Renata Hodovan
Comment 7 2011-04-05 02:49:58 PDT
Created attachment 88195 [details] Proposed patch
Renata Hodovan
Comment 8 2011-04-05 02:57:32 PDT
The bug isn't solved yet :)
Renata Hodovan
Comment 9 2011-04-05 03:02:06 PDT
Created attachment 88196 [details] Proposed patch
Build Bot
Comment 10 2011-04-05 03:43:17 PDT
Darin Adler
Comment 11 2011-04-05 09:50:30 PDT
Comment on attachment 88196 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=88196&action=review Looks fine. The Windows build failed, so please make a new patch. I’ll say review- because we don’t want a review+ on a refactoring patch that failed on EWS. > Source/JavaScriptCore/wtf/Alignment.h:3 > + * Copyright (C) 2011 University of Szeged. Since we just moved the code and made no changes, we should add a new copyright.
Renata Hodovan
Comment 12 2011-04-11 13:14:20 PDT
Created attachment 89065 [details] Proposed patch
Renata Hodovan
Comment 13 2011-04-12 01:34:34 PDT
Created attachment 89168 [details] Proposed patch
Renata Hodovan
Comment 14 2011-04-12 02:57:43 PDT
I don't know what's the problem with ews. As Gabor mentioned it in the twin bug, svn-apply works fine locally... any idea?
Gabor Loki
Comment 15 2011-04-12 03:03:19 PDT
(In reply to comment #14) > I don't know what's the problem with ews. As Gabor mentioned it in the twin bug, svn-apply works fine locally... any idea? Unfortunately the vcproj file needs CRLF on some EWS, and does not on the others. :(
Renata Hodovan
Comment 16 2011-04-18 04:03:54 PDT
Any feedback? :)
Gabor Loki
Comment 17 2011-04-18 07:47:26 PDT
Looks good to me! I couldn't have done a better job myself. ;)
Eric Seidel (no email)
Comment 18 2011-04-18 09:03:53 PDT
Comment on attachment 89168 [details] Proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=89168&action=review > Source/JavaScriptCore/wtf/Alignment.h:21 > +#ifndef Alignment_h I think this was supposed to be WTF_Alignment_h actually.
Eric Seidel (no email)
Comment 19 2011-04-18 09:04:49 PDT
The clean-header-guards script might help you find the right guard. :)
Renata Hodovan
Comment 20 2011-04-18 11:31:11 PDT
(In reply to comment #18) > (From update of attachment 89168 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=89168&action=review > > > Source/JavaScriptCore/wtf/Alignment.h:21 > > +#ifndef Alignment_h > > I think this was supposed to be WTF_Alignment_h actually. Thanks to both of you. :) Btw WTF_Alignment_h seems to be a good choice.
Renata Hodovan
Comment 21 2011-04-19 13:55:07 PDT
Eric Seidel (no email)
Comment 22 2011-04-19 14:19:32 PDT
I think this broke the mac build. I'm sad this was landed by hand. :(
Eric Seidel (no email)
Comment 23 2011-04-19 14:19:54 PDT
pbxcp: Alignment.h: No such file or directory pbxcp: Alignment.h: No such file or directory ** BUILD FAILED ** The following build commands failed: JavaScriptCore: CpHeader /Projects/WebKit/WebKitBuild/Release/JavaScriptCore.framework/Versions/A/PrivateHeaders/Alignment.h Alignment.h (1 failure)
WebKit Review Bot
Comment 24 2011-04-19 14:21:19 PDT
http://trac.webkit.org/changeset/84290 might have broken Leopard Intel Debug (Build) and SnowLeopard Intel Release (Build)
Note You need to log in before you can comment on or make changes to this bug.