Closed
Bug 1270965
Opened 10 years ago
Closed 10 years ago
Baldr: set min-heap-length
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla49
| Tracking | Status | |
|---|---|---|
| firefox49 | --- | fixed |
People
(Reporter: luke, Unassigned)
Details
Attachments
(1 file)
|
2.54 KB,
patch
|
bbouvier
:
review+
|
Details | Diff | Splinter Review |
This allows the Ion backend to remove bounds checks on constant accesses, so technically an accidental regression from asm.js (which does bumpMinHeapLength).
| Reporter | ||
Updated•10 years ago
|
Attachment #8749825 -
Attachment is patch: true
Attachment #8749825 -
Flags: review?(bbouvier)
Comment 1•10 years ago
|
||
Comment on attachment 8749825 [details] [diff] [review]
set-min-heap-length-in-wasm
Review of attachment 8749825 [details] [diff] [review]:
-----------------------------------------------------------------
Nice!
I thought that we could make minHeapLength argument mandatory in AsmJS too: we already keep track of minHeapLength in the module. By doing this, I think we could have some state de-duplication (minHeapLength is maintained by AsmJS, and passed to mg in ModuleValidator::finish), so I thought we could even remove ModuleGenerator::bumpMinHeapLength. But that would essentially remove all the range analysis optimisations we do on loads/stores *during* function compilations, so it is a Bad Idea (c), nevermind me.
Attachment #8749825 -
Flags: review?(bbouvier) → review+
Comment 3•10 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•