Closed
Bug 507723
Opened 15 years ago
Closed 15 years ago
Move interpreter opcode handling code to separate file
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: sully, Assigned: sully)
References
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
patch
|
brendan
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.1) Gecko/20090716 Ubuntu/9.04 (jaunty) Shiretoko/3.5.1
Build Identifier:
My inline threading work (Bug 506182) requires the cases for handling opcodes to be moved into a separate file so that it can be included in different contexts (once in the main interpreter loop, once to create functions). Making this move now would simplify merging new changes with the work in progress inline threading code and the eventual review/landing of the inline threading.
Reproducible: Always
Assignee | ||
Comment 1•15 years ago
|
||
This patch moves opcode definitions to jsops.cpp and includes it from the interpreter loop. It should be performance neutral.
Attachment #391975 -
Flags: review?
Assignee | ||
Comment 2•15 years ago
|
||
This patch performs the slight amount of rearranging done before the actual move.
Assignee | ||
Comment 3•15 years ago
|
||
A very minor update (putting a closing comment after an #endif)
Attachment #391975 -
Attachment is obsolete: true
Attachment #392405 -
Flags: review?
Attachment #391975 -
Flags: review?
Assignee | ||
Comment 4•15 years ago
|
||
A very minor update (putting a closing comment after an #endif)
Attachment #392403 -
Attachment is obsolete: true
Assignee | ||
Updated•15 years ago
|
Attachment #392405 -
Flags: review? → review?(brendan)
Assignee | ||
Updated•15 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•15 years ago
|
||
Who all might be patching the interpreter? /me raises hand, but can wait till after this lands.
I'm about to r= the patch here. Any reason to wait, or concerns about obscure C++ optimization issues, or whatever?
/be
I say we go for it. If there are bizarre optimizer quirks, we can look at doing all-one-file or similar later.
Comment 7•15 years ago
|
||
Sure, just cc'ing peers for a change.
/be
Updated•15 years ago
|
Attachment #392405 -
Flags: review?(brendan) → review+
Comment 8•15 years ago
|
||
Comment on attachment 392405 [details] [diff] [review]
Patch to move opcode case definitions to a new file
r=me, thanks for your patience. Kind of an rs (rubberstamp), do what you need to do given any patches that landed ahead of this.
/be
Comment 9•15 years ago
|
||
Nothing in my queue is touching interp. Go ahead.
Updated•15 years ago
|
Assignee: general → msullivan
Comment 10•15 years ago
|
||
Pushed to TM as e9c00ca58788.
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•