Closed
Bug 903754
Opened 11 years ago
Closed 11 years ago
Remove InterpreterFrames class and use InterpreterActivation instead
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: jandem, Assigned: jandem)
Details
Attachments
(1 file, 1 obsolete file)
16.30 KB,
patch
|
luke
:
review+
|
Details | Diff | Splinter Review |
InterpreterFrames is used to enable interrupts in js::Interpret invocations. The linked list of (interpreter) activations we now have has everything we need though, so there's no need to maintain a second list.
Attachment #788511 -
Flags: review?(luke)
Assignee | ||
Comment 1•11 years ago
|
||
Forgot to mention, the patch also removes InterpreterActivation::current_, we can use regs_.fp() instead.
Comment 2•11 years ago
|
||
Nice find; I forgot all about this! Maybe I'm missing a constraint, but could InterpreterActivation just store the switchMask/value directly such that enableInterrupts could *switchMask = value directly?
Assignee | ||
Comment 3•11 years ago
|
||
(In reply to Luke Wagner [:luke] from comment #2) > Nice find; I forgot all about this! Maybe I'm missing a constraint, but > could InterpreterActivation just store the switchMask/value directly such > that enableInterrupts could *switchMask = value directly? Yeah that works. This patch removes the InterruptEnabler stuff as well.
Attachment #788511 -
Attachment is obsolete: true
Attachment #788511 -
Flags: review?(luke)
Attachment #789011 -
Flags: review?(luke)
Comment 4•11 years ago
|
||
Comment on attachment 789011 [details] [diff] [review] Patch v2 Great
Attachment #789011 -
Flags: review?(luke) → review+
Assignee | ||
Comment 5•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/cd086a74f522
Comment 6•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/cd086a74f522
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•