RESOLVED FIXED 141623
DFG SSA should use GetLocal for arguments, and the GetArgument node type should be removed
https://bugs.webkit.org/show_bug.cgi?id=141623
Summary DFG SSA should use GetLocal for arguments, and the GetArgument node type shou...
Filip Pizlo
Reported 2015-02-15 14:33:23 PST
The GetArgument node type is bizarre: it acts like a GetLocal that also does checks. We should just use a GetLocal instead and do the checks elsewhere.
Attachments
work in progress (31.96 KB, patch)
2015-02-15 16:07 PST, Filip Pizlo
no flags
the patch (35.02 KB, patch)
2015-02-15 17:40 PST, Filip Pizlo
oliver: review+
Filip Pizlo
Comment 1 2015-02-15 16:07:19 PST
Created attachment 246626 [details] work in progress
Filip Pizlo
Comment 2 2015-02-15 17:40:17 PST
Created attachment 246627 [details] the patch
Filip Pizlo
Comment 3 2015-02-16 11:30:29 PST
Csaba Osztrogonác
Comment 4 2015-02-16 14:03:44 PST
(In reply to comment #3) > Landed in http://trac.webkit.org/changeset/180160 It broke 32 bit API tests, see Apple 32 bit JSC testers for details: JS ERROR JS ERROR undefined: JS ERROR TypeError: null is not an object undefined: JS ERROR TypeError: No default value undefined: JS ERROR TypeError: No default value undefined: JS ERROR TypeError: No default value [native code]: JS ERROR 1 undefined:1: JS ERROR SyntaxError: Unexpected token '=' undefined:1: JS ERROR SyntaxError: Unexpected token '=' undefined:1: JS ERROR SyntaxError: Unexpected identifier 'Array' undefined:1: JS ERROR SyntaxError: Unexpected identifier 'Array' undefined:2: JS ERROR SyntaxError: Unexpected identifier 'Array' file:///foo/bar.js:1: JS ERROR SyntaxError: Unexpected identifier 'Array' test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception test script:1:21: JS ERROR an exception testAPI completed with rc=11 (254)
Filip Pizlo
Comment 5 2015-02-16 14:35:07 PST
(In reply to comment #4) > (In reply to comment #3) > > Landed in http://trac.webkit.org/changeset/180160 > > It broke 32 bit API tests, see Apple 32 bit JSC testers for details: > > JS ERROR > JS ERROR > undefined: JS ERROR TypeError: null is not an object > undefined: JS ERROR TypeError: No default value > undefined: JS ERROR TypeError: No default value > undefined: JS ERROR TypeError: No default value > [native code]: JS ERROR 1 > undefined:1: JS ERROR SyntaxError: Unexpected token '=' > undefined:1: JS ERROR SyntaxError: Unexpected token '=' > undefined:1: JS ERROR SyntaxError: Unexpected identifier 'Array' > undefined:1: JS ERROR SyntaxError: Unexpected identifier 'Array' > undefined:2: JS ERROR SyntaxError: Unexpected identifier 'Array' > file:///foo/bar.js:1: JS ERROR SyntaxError: Unexpected identifier 'Array' > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > test script:1:21: JS ERROR an exception > testAPI completed with rc=11 (254) Did it just break Apple 32-bit or all 32-bit? I ask because I've seen the JSC Xcode project mess up dependency resolutions pretty regularly in recent revisions. It might just need a clean build. If that doesn't fix it then rollout is best.
Csaba Osztrogonác
Comment 6 2015-02-16 23:33:40 PST
Note You need to log in before you can comment on or make changes to this bug.