Use BytecodeLocation and BytecodeIterator in IonBuilder::analyzeNewLoopTypes
Categories
(Core :: JavaScript Engine, enhancement, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: asorholm, Assigned: asorholm)
References
Details
Attachments
(2 files, 1 obsolete file)
Currently in IonBuilder::analyzeNewLoopTypes, https://searchfox.org/mozilla-central/source/js/src/jit/IonBuilder.cpp#546-797, bytecode is manipulated directly with the use of jsbytecode* and pcToOffset. The goal of this bug is to encapsulate that manipulation with the bytecode interface classes BytecodeLocation and BytecodeIterator.
Updated•6 years ago
|
Replaced uses of jsbytecode* and pcToOffset in IonBuilder::analyzeNewLoopTypes with bytecode abstraction classes
BytecodeLocation and BytecodeIterator.
Adding BytecodeLocationRange iterator to BytecodeIterator class. Can provide beginning and end bytecode locations to this class, and then iterate over all bytecode locations in that range.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Pushed by opoprus@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9737b534c68f
Implementing BytecodeLocationRange iterator. r=mgaudet
https://hg.mozilla.org/integration/autoland/rev/a693df77606e
Use BytecodeLocation and BytecodeIterator in IonBuilder::analyzeNewLoopTypes. r=mgaudet
Comment 5•6 years ago
|
||
Backed out 2 changesets (bug 1584758) for build bustages /builds/worker/workspace/build/src/js/src/vm/BytecodeLocation.h
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=270765048&repo=autoland&lineNumber=593
Backout: https://hg.mozilla.org/integration/autoland/rev/3850aea9c18d82aac4b388a6996fb37803a1a320
(In reply to Oana Pop-Rus from comment #5)
Backed out 2 changesets (bug 1584758) for build bustages /builds/worker/workspace/build/src/js/src/vm/BytecodeLocation.h
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=270765048&repo=autoland&lineNumber=593
Backout: https://hg.mozilla.org/integration/autoland/rev/3850aea9c18d82aac4b388a6996fb37803a1a320
It looks like the build bustages were due to a method I added in this patch and an earlier patch that was merged into m-c. I pulled the tip of m-c down and rebased on top of it to address the conflicting methods.
Here's a try build for Bug 1584758 - Implementing BytecodeLocationRange iterator. r=mgaudet: https://treeherder.mozilla.org/#/jobs?repo=try&revision=c87984ae1a6bf538d7cec20a316f78edc5e9e8f5
Here's a try build for Bug 1584758 - Use BytecodeLocation and BytecodeIterator in IonBuilder::analyzeNewLoopTypes. r=mgaudet: https://treeherder.mozilla.org/#/jobs?repo=try&revision=283ba4e2e0dc5605a15a439936e59995a1611d73
Updated•6 years ago
|
Comment 8•6 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f15fe0194c52
https://hg.mozilla.org/mozilla-central/rev/0433deec4d73
Description
•