RESOLVED FIXED 197677
macro assembler code-pointer tagging has its arguments backwards
https://bugs.webkit.org/show_bug.cgi?id=197677
Summary macro assembler code-pointer tagging has its arguments backwards
Keith Miller
Reported 2019-05-07 16:14:50 PDT
Normally, we have the macro assembler code put the destination as the right-most parameter. the code-pointer tagging has the destination on the left.
Attachments
patch (9.81 KB, patch)
2019-05-13 12:53 PDT, Saam Barati
msaboff: review+
patch for landing (10.46 KB, patch)
2019-05-13 13:07 PDT, Saam Barati
saam: commit-queue-
patch for landing (10.61 KB, patch)
2019-05-13 14:01 PDT, Saam Barati
no flags
Saam Barati
Comment 1 2019-05-07 16:51:11 PDT
*** Bug 197422 has been marked as a duplicate of this bug. ***
Saam Barati
Comment 2 2019-05-13 12:53:07 PDT
Michael Saboff
Comment 3 2019-05-13 13:00:22 PDT
Comment on attachment 369765 [details] patch r=me, but it looks like you need to fix mips.
Saam Barati
Comment 4 2019-05-13 13:07:07 PDT
Created attachment 369769 [details] patch for landing
Tadeu Zagallo
Comment 5 2019-05-13 13:50:24 PDT
Comment on attachment 369769 [details] patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=369769&action=review > Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:980 > ALWAYS_INLINE void tagPtr(RegisterID, PtrTag) { } Shouldn't this be flipped as well?
Saam Barati
Comment 6 2019-05-13 14:00:48 PDT
Comment on attachment 369769 [details] patch for landing View in context: https://bugs.webkit.org/attachment.cgi?id=369769&action=review >> Source/JavaScriptCore/assembler/AbstractMacroAssembler.h:980 >> ALWAYS_INLINE void tagPtr(RegisterID, PtrTag) { } > > Shouldn't this be flipped as well? yup
Saam Barati
Comment 7 2019-05-13 14:01:50 PDT
Created attachment 369779 [details] patch for landing
WebKit Commit Bot
Comment 8 2019-05-13 14:34:49 PDT
Comment on attachment 369779 [details] patch for landing Clearing flags on attachment: 369779 Committed r245251: <https://trac.webkit.org/changeset/245251>
WebKit Commit Bot
Comment 9 2019-05-13 14:34:50 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 10 2019-05-13 14:35:19 PDT
Note You need to log in before you can comment on or make changes to this bug.