RESOLVED FIXED 106030
ASSERT compilation problem on platforms without static_assert after r138465
https://bugs.webkit.org/show_bug.cgi?id=106030
Summary ASSERT compilation problem on platforms without static_assert after r138465
Balazs Kilvady
Reported 2013-01-03 13:29:39 PST
On ARM_THUMB2, ARM_TRADITIONAL and MIPS platform macros are missing from JITThunks::JITThunks(JSGlobalData* globalData) ctor when compiling in debug mode after r138465.
Attachments
proposed patch for MIPS. (1.75 KB, patch)
2013-01-03 13:39 PST, Balazs Kilvady
fpizlo: review+
Macroes moved from JITStubs.cpp to JITStubs.h (2.51 KB, patch)
2013-01-07 03:07 PST, Balazs Kilvady
ossy: review+
webkit.review.bot: commit-queue-
Balazs Kilvady
Comment 1 2013-01-03 13:39:49 PST
Created attachment 181212 [details] proposed patch for MIPS. I guess similar solution should be used for ARM archs.
Gabor Ballabas
Comment 2 2013-01-07 02:12:16 PST
These macros have already been defined in JITStubs.cpp. I think a better solution would be to move all of them to JITStubs.h in order to avoid unnecessary code duplications.
Balazs Kilvady
Comment 3 2013-01-07 03:07:35 PST
Created attachment 181489 [details] Macroes moved from JITStubs.cpp to JITStubs.h
Balazs Kilvady
Comment 4 2013-01-07 03:11:27 PST
(In reply to comment #2) > These macros have already been defined in JITStubs.cpp. > I think a better solution would be to move all of them to JITStubs.h in order to avoid unnecessary code duplications. Thanks for pointing out. I made a fixed patch. I think the same should be done for the ARM architectures.
Csaba Osztrogonác
Comment 5 2013-01-08 04:19:31 PST
Comment on attachment 181489 [details] Macroes moved from JITStubs.cpp to JITStubs.h rs=me.
WebKit Review Bot
Comment 6 2013-01-08 04:21:58 PST
Comment on attachment 181489 [details] Macroes moved from JITStubs.cpp to JITStubs.h Rejecting attachment 181489 [details] from commit-queue. Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', u'--status-host=queues.webkit.org', ..." exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: /JavaScriptCore/ChangeLog Hunk #1 succeeded at 1 with fuzz 3. patching file Source/JavaScriptCore/jit/JITStubs.cpp Hunk #1 FAILED at 275. 1 out of 1 hunk FAILED -- saving rejects to file Source/JavaScriptCore/jit/JITStubs.cpp.rej patching file Source/JavaScriptCore/jit/JITStubs.h patching file Source/JavaScriptCore/jit/JITThunks.cpp Failed to run "[u'/mnt/git/webkit-commit-queue/Tools/Scripts/svn-apply', u'--force', u'--reviewer', u'Csaba Oszt..." exit_code: 1 cwd: /mnt/git/webkit-commit-queue Full output: http://queues.webkit.org/results/15761083
Balazs Kilvady
Comment 7 2013-01-08 04:30:28 PST
(In reply to comment #5) > (From update of attachment 181489 [details]) > rs=me. Thanks for reviewing but it seem the patch is obsolete now as all the ASSERTs was removed from the JITThunks::JITThunks(JSGlobalData* globalData) ctor.
Csaba Osztrogonác
Comment 8 2013-01-08 04:38:22 PST
Note You need to log in before you can comment on or make changes to this bug.