Transpile primitive conversion ops
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: jandem, Assigned: jandem)
References
(Blocks 1 open bug)
Details
Attachments
(5 files)
It would be nice to support these:
GuardAndGetIndexFromString
GuardAndGetInt32FromString
GuardAndGetNumberFromString
GuardAndGetNumberFromBoolean
Assignee | ||
Comment 1•4 years ago
|
||
GuardAndGetNumberFromBoolean is infallible, so that was renamed to BooleanToNumber.
That's consistent with BooleanToString.
Assignee | ||
Comment 2•4 years ago
|
||
Depends on D87704
Assignee | ||
Comment 3•4 years ago
|
||
This is useful for example when for-in is used to iterate over an array.
Depends on D87705
Assignee | ||
Comment 4•4 years ago
|
||
Depends on D87706
Assignee | ||
Comment 5•4 years ago
|
||
CacheIRCompiler using int32-or-double and MIR always using double makes it annoying
to share more code like in the previous patch. Hopefully we can align this more in
the future.
Depends on D87707
Pushed by jdemooij@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/fd13391609b8 part 1 - Rename some GuardAndGetXFromY CacheIR ops to GuardYToX. r=anba https://hg.mozilla.org/integration/autoland/rev/a0cbc5dcadf9 part 2 - Transpile BooleanToNumber. r=anba https://hg.mozilla.org/integration/autoland/rev/ace4a495182f part 3 - Transpile GuardStringToIndex. r=anba https://hg.mozilla.org/integration/autoland/rev/deebea3d7156 part 4 - Transpile GuardStringToInt32. r=anba https://hg.mozilla.org/integration/autoland/rev/5e2e50c4fe87 part 5 - Transpile GuardStringToNumber. r=anba
Comment 7•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fd13391609b8
https://hg.mozilla.org/mozilla-central/rev/a0cbc5dcadf9
https://hg.mozilla.org/mozilla-central/rev/ace4a495182f
https://hg.mozilla.org/mozilla-central/rev/deebea3d7156
https://hg.mozilla.org/mozilla-central/rev/5e2e50c4fe87
Description
•