Closed Bug 490684 Opened 15 years ago Closed 6 years ago

abcasm: 0x86 opcode produces NullPointerException

Categories

(Tamarin Graveyard :: Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX
Future

People

(Reporter: cpeyer, Assigned: tharwood)

References

Details

Using:

0x86 0

Produces the following error:
Unable to emit due to: 
java.lang.NullPointerException
    at java.util.TreeMap.compare(TreeMap.java:1093)
    at java.util.TreeMap.getEntry(TreeMap.java:347)
    at java.util.TreeMap.containsKey(TreeMap.java:204)
    at abcasm.Pool.id(Pool.java:82)
    at abcasm.AbcEmitter.emitBlock(AbcEmitter.java:412)
    at abcasm.AbcEmitter.emitCode(AbcEmitter.java:313)
    at abcasm.AbcEmitter.emitMethodBody(AbcEmitter.java:286)
    at abcasm.AbcEmitter.emit(AbcEmitter.java:207)
    at abcasm.Main.assemble(Main.java:126)
    at abcasm.Main.main(Main.java:55)

This may be directly related to 490681, but I'm filing a separate bug in case it is not.

This is also directly related to enhancement 490682.
Not directly related to 490681, this one looks like the emitter needs special case logic to deal with ad-hoc args to instructions that normally take symbolic args.
Target Milestone: --- → Future
Flags: flashplayer-qrb+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.