Closed Bug 398200 Opened 18 years ago Closed 13 years ago

Storing JSContext in JSTokenStream

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: igor, Unassigned)

Details

Currently all the parsing and code generation functions take JSContext * as a parameter. In most cases the functions also take JSTokenStream* as a parameter and the code passes both cx and ts to other functions. It would be nice to store JSContext* in JSTokenStream to avoid passing cx all the time.
Assignee: igor → general
Done.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.