Closed Bug 1618631 Opened 4 years ago Closed 4 years ago

Make BCEScriptStencil own the pieces it requires to initialize a script

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: mgaudet, Assigned: mgaudet)

References

Details

Attachments

(4 files, 4 obsolete files)

Today, BCEScriptStencil delegates to a contained BytecodeEmitter reference in order to fill in a JSScript.

This needs to change, making BCEScriptStencil own this data, and making BCEScriptStencil movable type will allow us to re-home this on the FunctionTree after it has been filled in.

Blocks: 1618634
Depends on: 1619345
Keywords: leave-open
Assignee: nobody → mgaudet
Status: NEW → ASSIGNED

Depends on D65042

Attachment #9130293 - Attachment is obsolete: true
Attachment #9130292 - Attachment is obsolete: true
Attachment #9130291 - Attachment is obsolete: true
Attachment #9130294 - Attachment description: Bug 1618631 - Make Allocation of GC things a static method to prepare for sharing f?tcambell → Bug 1618631 - Make Allocation of GC things a static method to prepare for sharing r?tcampbell
Attachment #9130295 - Attachment description: Bug 1618631 - Move ownership of GCThings vector to ScriptStencil f?tcampbell → Bug 1618631 - Move ownership of GCThings vector to ScriptStencil r?tcampbell
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5c8534818e5d
Run const through ObjLiteral code r=cfallin
https://hg.mozilla.org/integration/autoland/rev/8422da053e07
Make Allocation of GC things a static method to prepare for sharing r=tcampbell
Keywords: leave-open
Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5598b077ccea
Move ownership of GCThings vector to ScriptStencil r=tcampbell,jorendorff
Keywords: leave-open
Depends on: 1623956

Comment on attachment 9135228 [details]
Bug 1618631 - Pass preallocated RuntimeScriptData to stencil rather than ImmutableScriptData. r?tcampbell

Revision D67920 was moved to bug 1625591. Setting attachment 9135228 [details] to obsolete.

Attachment #9135228 - Attachment is obsolete: true

This is preparation for disconnecting BCEScriptStencil from the BytecodeEmitter
to allow subsequent batch initialization, by making it more clear what still
depends on the BCE.

Pushed by mgaudet@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/057bd6b8d85b
Minimize dependency on BytecodeEmitter member of BCEScriptStencil r=tcampbell
No longer depends on: 1623956
Depends on: 1636795
Depends on: 1636796

With Bug 1638470, I think we'll be able to call this done :)

Depends on: 1638470
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: