WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
172225
[JSC] Make get_by_val & string "499" to number 499
https://bugs.webkit.org/show_bug.cgi?id=172225
Summary
[JSC] Make get_by_val & string "499" to number 499
Yusuke Suzuki
Reported
2017-05-17 09:24:11 PDT
...
Attachments
Patch
(15.20 KB, patch)
2017-05-19 21:07 PDT
,
Yusuke Suzuki
saam
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2017-05-17 09:26:12 PDT
And we should convert GetByVal(..., String:"499") to GetByVal(..., Int32:499).
Yusuke Suzuki
Comment 2
2017-05-19 06:27:08 PDT
(In reply to Yusuke Suzuki from
comment #1
)
> And we should convert GetByVal(..., String:"499") to GetByVal(..., > Int32:499).
I would like to do it in a separate patch.
https://bugs.webkit.org/show_bug.cgi?id=172358
Yusuke Suzuki
Comment 3
2017-05-19 21:07:15 PDT
Created
attachment 310757
[details]
Patch
Saam Barati
Comment 4
2017-05-21 14:37:52 PDT
Comment on
attachment 310757
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=310757&action=review
r=me
> Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:585 > + if (leftHandSideNeedsCopy(rightHasAssignments, rightIsPure)) { > + RefPtr<RegisterID> dst = newTemporary(); > + emitNodeForProperty(dst.get(), n); > + return dst; > + }
Do you have a test for this?
Yusuke Suzuki
Comment 5
2017-05-21 22:32:47 PDT
Comment on
attachment 310757
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=310757&action=review
Thanks!
>> Source/JavaScriptCore/bytecompiler/BytecodeGenerator.h:585 >> + } > > Do you have a test for this?
Nice, added.
Yusuke Suzuki
Comment 6
2017-05-21 22:33:56 PDT
Committed
r217199
: <
http://trac.webkit.org/changeset/217199
>
Yusuke Suzuki
Comment 7
2017-05-21 23:00:51 PDT
Committed
r217201
: <
http://trac.webkit.org/changeset/217201
>
Yusuke Suzuki
Comment 8
2017-05-21 23:02:21 PDT
https://arewefastyet.com/#machine=29&view=single&suite=six-speed&subtest=map-string-es5
Go!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug