Closed
Bug 903754
Opened 12 years ago
Closed 12 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•12 years ago
|
||
Forgot to mention, the patch also removes InterpreterActivation::current_, we can use regs_.fp() instead.
![]() |
||
Comment 2•12 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•12 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•12 years ago
|
||
Comment on attachment 789011 [details] [diff] [review]
Patch v2
Great
Attachment #789011 -
Flags: review?(luke) → review+
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
You need to log in
before you can comment on or make changes to this bug.
Description
•