Use AttachDecision in more IR generators for CacheIR.
Categories
(Core :: JavaScript Engine: JIT, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: iain, Assigned: iain)
Details
Attachments
(15 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
While working on call ICs in bug 1533890, I introduced an AttachDecision enum to simplify tryAttachStub, instead of having multiple mutually exclusive boolean out-params. We should consider using the same pattern for other IR generators.
Assignee | ||
Comment 1•5 years ago
|
||
This patch lays the groundwork for the stack.
To make it possible to switch everything over incrementally, I renamed the existing TryAttachStub/TryAttachIonStub templates, and added a new version. The old version gets deleted later in the stack when all the consumers have been fixed up.
Assignee | ||
Comment 2•5 years ago
|
||
This is one of the two non-trivial conversions. GetProp supports TemporarilyUnoptimizable, but not Deferred.
Note: I deleted a comment in IonGetPropertyIC::update that has been obsolete since bug 1383777: https://bugzilla.mozilla.org/show_bug.cgi?id=1383777#c2
Depends on D27297
Assignee | ||
Comment 3•5 years ago
|
||
Depends on D27298
Assignee | ||
Comment 4•5 years ago
|
||
Depends on D27299
Assignee | ||
Comment 5•5 years ago
|
||
Depends on D27300
Assignee | ||
Comment 6•5 years ago
|
||
Depends on D27301
Assignee | ||
Comment 7•5 years ago
|
||
Depends on D27302
Assignee | ||
Comment 8•5 years ago
|
||
Depends on D27303
Assignee | ||
Comment 9•5 years ago
|
||
Depends on D27304
Assignee | ||
Comment 10•5 years ago
|
||
Depends on D27305
Assignee | ||
Comment 11•5 years ago
|
||
Depends on D27306
Assignee | ||
Comment 12•5 years ago
|
||
Depends on D27307
Assignee | ||
Comment 13•5 years ago
|
||
Depends on D27308
Assignee | ||
Comment 14•5 years ago
|
||
This was the last consumer of the old implementation of TryAttachStub/TryAttachIonStub. This patch removes the transitional version.
Depends on D27309
Assignee | ||
Comment 15•5 years ago
|
||
This is the other patch with non-trivial refactoring. (GetPropIRGenerator was the first.)
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Pushed by iireland@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1140aa6cfb40 Add TRY_ATTACH macro and new versions of TryAttach templates r=mgaudet https://hg.mozilla.org/integration/autoland/rev/f3c7978228c0 Convert GetPropIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/3169b44fe327 Convert GetNameIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/b9871f6c9a35 Convert BindNameIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/448eb3cd7fdf Convert HasPropIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/1e1017253de5 Convert InstanceOfIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/f96d9bb86997 Convert TypeOfIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/ec38ecf241e2 Convert GetIteratorIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/ffd868dfa8b1 Convert CompareIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/cd4e0264ddea Convert ToBoolIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/f5d29f943027 Convert GetIntrinsicIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/94bdb9f0377a Convert UnaryArithIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/c9e126b6fe3d Convert BinaryArithIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/7a8e62330019 Convert NewObjectIRGenerator to use AttachDecision r=mgaudet https://hg.mozilla.org/integration/autoland/rev/85d43344501f Convert SetPropIRGenerator to use AttachDecision r=tcampbell
Comment 17•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1140aa6cfb40
https://hg.mozilla.org/mozilla-central/rev/f3c7978228c0
https://hg.mozilla.org/mozilla-central/rev/3169b44fe327
https://hg.mozilla.org/mozilla-central/rev/b9871f6c9a35
https://hg.mozilla.org/mozilla-central/rev/448eb3cd7fdf
https://hg.mozilla.org/mozilla-central/rev/1e1017253de5
https://hg.mozilla.org/mozilla-central/rev/f96d9bb86997
https://hg.mozilla.org/mozilla-central/rev/ec38ecf241e2
https://hg.mozilla.org/mozilla-central/rev/ffd868dfa8b1
https://hg.mozilla.org/mozilla-central/rev/cd4e0264ddea
https://hg.mozilla.org/mozilla-central/rev/f5d29f943027
https://hg.mozilla.org/mozilla-central/rev/94bdb9f0377a
https://hg.mozilla.org/mozilla-central/rev/c9e126b6fe3d
https://hg.mozilla.org/mozilla-central/rev/7a8e62330019
https://hg.mozilla.org/mozilla-central/rev/85d43344501f
Updated•5 years ago
|
Description
•