Closed Bug 551761 Opened 16 years ago Closed 15 years ago

remove bytecode pc from stack frame, compute from hw pc

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 587707

People

(Reporter: luke, Unassigned)

References

Details

Currently, on every JITed JSOP_CALL, we store both the hw return address and the bytecode return address. Also, on every stub call, we write the current bytecode pc to cx->regs->pc. Assuming we can remove all hot uses of the bytecode pc and recompute cold uses from the hw pc (using a table we already generate), we could avoid all these logically redundant stores, save a word in JSStackFrame, and shrink our stub call path a bit.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.