Closed
Bug 1385278
Opened 7 years ago
Closed 7 years ago
Move some functions in CacheIR from Ion
Categories
(Core :: JavaScript Engine: JIT, enhancement)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
mozilla57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: evilpie, Assigned: evilpie)
References
(Blocks 1 open bug)
Details
Attachments
(4 files, 1 obsolete file)
14.41 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
6.75 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
3.36 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
10.87 KB,
patch
|
jandem
:
review+
|
Details | Diff | Splinter Review |
The old IonCaches are gone, so we can move some of those functions into CacheIR.cpp
Attachment #8891349 -
Flags: review?(jdemooij)
Comment 1•7 years ago
|
||
Comment on attachment 8891349 [details] [diff] [review]
Move IsCacheable to CacheIR from Ion
Review of attachment 8891349 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks for doing this. We've come a long way :)
(See also bug 1340153.)
::: js/src/jit/CacheIR.cpp
@@ +300,5 @@
> }
>
> +// Note: This differs from IsCacheableProtoChain in BaselineIC.cpp in that
> +// Ion caches can deal with objects on the proto chain that have uncacheable
> +// prototypes.
Please remove this comment, there's no longer an IsCacheableProtoChain in BaselineIC.cpp \o/
@@ +361,5 @@
> + // instead of the WindowProxy.
> + return !IsWindow(obj);
> +}
> +
> +bool
Nit: static bool
Attachment #8891349 -
Flags: review?(jdemooij) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: leave-open
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/06c9ca99d461
Move IsCacheable* functions to CacheIR from Ion. r=jandem
Comment 3•7 years ago
|
||
bugherder |
Assignee | ||
Comment 4•7 years ago
|
||
Attachment #8901990 -
Flags: review?(jdemooij)
Comment 5•7 years ago
|
||
Comment on attachment 8901990 [details] [diff] [review]
Move StoreDenseElement to CacheIR from Ion
Review of attachment 8901990 [details] [diff] [review]:
-----------------------------------------------------------------
\o/
Attachment #8901990 -
Flags: review?(jdemooij) → review+
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/35a1fe8f201b
Move StoreDenseElement to CacheIR from Ion. r=jandem
Comment 7•7 years ago
|
||
bugherder |
Assignee | ||
Comment 8•7 years ago
|
||
Almost done \o/. CodeLocationJump::repoint, CodeLocationLabel::repoint and CodeOffsetJump::fixup should probably be moved to a new Assembler-shared.cpp file.
Attachment #8905628 -
Flags: review?(jdemooij)
Comment 9•7 years ago
|
||
Comment on attachment 8905628 [details] [diff] [review]
Move GetReturnAddress into IonCacheIRCompiler
Review of attachment 8905628 [details] [diff] [review]:
-----------------------------------------------------------------
Nice!
Moving the remaining functions to MacroAssembler.cpp or Assembler-shared.cpp SGTM.
Attachment #8905628 -
Flags: review?(jdemooij) → review+
Comment 10•7 years ago
|
||
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ec521bf6357c
Move GetReturnAddress into IonCacheIRCompiler. r=jandem
Comment 11•7 years ago
|
||
bugherder |
Assignee | ||
Comment 12•7 years ago
|
||
Not sure yet if this is going to compile everywhere: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e0673cd3449e7645d7b62f9eba2e3f70245ccfc0
Assignee | ||
Updated•7 years ago
|
Keywords: leave-open
Assignee | ||
Comment 13•7 years ago
|
||
Looking pretty good in this new push: https://treeherder.mozilla.org/#/jobs?repo=try&revision=b4fd7bfed3b950e358b13d7e69f56afa2e0a6c09
Attachment #8906270 -
Attachment is obsolete: true
Attachment #8906273 -
Flags: review?(jdemooij)
Comment 14•7 years ago
|
||
Comment on attachment 8906273 [details] [diff] [review]
Move the rest of IonCaches.h to Assembler-shared.h
Review of attachment 8906273 [details] [diff] [review]:
-----------------------------------------------------------------
Sweet!
Attachment #8906273 -
Flags: review?(jdemooij) → review+
Comment 15•7 years ago
|
||
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ea4ebbcd0022
Move the rest of IonCaches.h to Assembler-shared.h. r=jandem
Comment 16•7 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla57
You need to log in
before you can comment on or make changes to this bug.
Description
•