Warp: Support transpiling Calls to known natives
Categories
(Core :: JavaScript Engine: JIT, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
We can transpile the CacheIR sequence: GuardSpecificFunction + CallNativeFunction. This gives us the actual JSNative that is going to be called. With this Ion can emit LCallNative
instead of the much more generic LCallGeneric
.
We should probably refactor some of this code to be like IonBuilder using makeCallHelper and createThis. This seems to pass jit-tests for calls. The construct case actually can't be hit yet.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
Depends on D75700
Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
Backed out 3 changesets (Bug 1638460) for sm bustages at WarpCacheIRTranspiler.cpp
https://hg.mozilla.org/integration/autoland/rev/eb94a03438d1db4f5604885e317dc5b3654a5a59
Failure log:
https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302809057&repo=autoland&lineNumber=5286
Assignee | ||
Comment 7•4 years ago
|
||
I didn't #ifdef JS_SIMULATOR properly. Kind of unfortunate that it actually changes the parameter list. I wonder if there is some better way of doing this.
Comment 8•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0a30a6284ece
https://hg.mozilla.org/mozilla-central/rev/3ec24f39d775
https://hg.mozilla.org/mozilla-central/rev/d052be2448b1
Description
•