Closed
Bug 373772
Opened 16 years ago
Closed 2 years ago
Unifying JSOP_(NUMBER|OBJECT|QNAMEPART|STRING)
Categories
(Core :: JavaScript Engine, enhancement)
Core
JavaScript Engine
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: igor, Unassigned)
Details
[This is a spin-off of bug 355736 comment 7] Currently in SpiderMonkey JSOP_(NUMBER|OBJECT|QNAMEPART|STRING) are only different from the decompiler point of view, in the interpreter they all mean the same operation, to load an operand from atom's table on the stack. It would be nice to combine them into single JSOP_CONST for the price of an extra job in the decompiler.
Comment 1•16 years ago
|
||
Only JSOP_QNAMEPART needs a source note, SRC_UNQUOTE or some such. The rest can be handled via atom key tag discrimination. /be
Updated•16 years ago
|
Assignee: general → igor
QA Contact: igor → general
Updated•13 years ago
|
Summary: Unifing JSOP_(NUMBER|OBJECT|QNAMEPART|STRING) → Unifying JSOP_(NUMBER|OBJECT|QNAMEPART|STRING)
Assignee | ||
Updated•9 years ago
|
Assignee: general → nobody
Comment 3•2 years ago
|
||
JSOp::Double
and JSOp::String
are now performing different actions, so there isn't anymore any reason to merge these opcodes.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•