Open Bug 1344428 Opened 7 years ago Updated 2 years ago

Can we remove JSScript.sourceStart_/LazyScript.begin_/FunctionBox.bufStart ?

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

ASSIGNED
Tracking Status
firefox54 --- affected

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

(Keywords: triage-deferred, Whiteboard: [overhead:40k])

bug 1317400 adds JSScript.preludeStart_/LazyScript.preludeStart_/FunctionBox.preludeStart, that points the beginning of the function.

>     //   function * f(a, b) { return a + b; }
>     //   ^          ^                        ^
>     //   |          |                        |
>     //   |          sourceStart_             sourceEnd_
>     //   |
>     //   preludeStart_

if we can use preludeStart_ for all places that currently uses sourceStart_, we can remove those members.
Keywords: triage-deferred
Priority: -- → P3
bug 1216630 renamed preludeStart_ to toStringStart_.
See Also: → 1453884
It looks like only the debugger really uses this, and they seem to really want toStringStart_.
Whiteboard: [overhead:40k]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.