Closed Bug 1688884 Opened 3 years ago Closed 3 years ago

Use Span for BaseCompilationStencil.bigIntData

Categories

(Core :: JavaScript Engine, task, P3)

task

Tracking

()

RESOLVED FIXED
87 Branch
Tracking Status
firefox87 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

BaseCompilationStencil.bigIntData currently uses Vector, but we can use Span instead, to reduce the size.

Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED

When compiling, source is allocated in LifoAlloc.
When decoding, source points XDR buffer.

Depends on D103159

To avoid accessing BigIntStencil from constant folding, calculate isZero
and store it into BigIntLiteral.

Depends on D103160

Pushed by arai_a@mac.com:
https://hg.mozilla.org/integration/autoland/rev/38a0b23f92b6
Part 1: Do not use ParserBase::getCompilationStencil inside Parser. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/52f0950e9328
Part 2: Use LifoAlloc and XDR buffer for BigIntStencil source. r=tcampbell
https://hg.mozilla.org/integration/autoland/rev/66dd79dcf4d9
Part 3: Use Span for BaseCompilationStencil.bigIntData. r=tcampbell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: