Closed Bug 592020 Opened 14 years ago Closed 9 years ago

js_Disassemble1 output for JOF_UINT16PAIR

Categories

(Core :: JavaScript Engine, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: eric.hennigan, Assigned: eric.hennigan)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.2 (like Gecko) Kubuntu
Build Identifier: 


The js_Disassemble1() output for JOF_UINT16PAIR bytecodes is incorrect.

Reproducible: Always

Steps to Reproduce:
1. disassemble any script that uses a JOF_UINT16PAIR bytecode, for example the defsharp opcode:

function  foo() { return #1=[a]; }
print(dis(foo))

Actual Results:  
flags: NULL_CLOSURE
main:
00000:  trace
00001:  newinit 3
00003:  sharpinit 0
00006:  defsharp 0 0
00011:  zero
00012:  name "a"
00015:  initelem
00016:  sharpinit 0
00019:  endinit
00020:  return
00021:  stop

Source notes:
undefined

Expected Results:  
flags: NULL_CLOSURE
main:
00000:  trace
00001:  newinit 3
00003:  sharpinit 0
00006:  defsharp 0 1
00011:  zero
00012:  name "a"
00015:  initelem
00016:  sharpinit 0
00019:  endinit
00020:  return
00021:  stop

Source notes:
undefined
Assignee: general → eric.hennigan
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Severity: trivial → normal
Priority: -- → P2
Resolving as WFM - JOF_UINT16PAIR was removed some time ago.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: