hg: valhalla/valhalla/langtools: Consolidate BytecodeMapping support

maurizio.cimadamore at oracle.com maurizio.cimadamore at oracle.com
Tue Aug 19 16:06:58 UTC 2014

Changeset: 7beb2d9c12e4
Author:    mcimadamore
Date:      2014-08-19 17:02 +0100
URL:       http://hg.openjdk.java.net/valhalla/valhalla/langtools/rev/7beb2d9c12e4

Consolidate BytecodeMapping support
*) Added Items.makeCmpItem for any type-var comparisons
*) Unified code paths for marking opcodes between Items and Gen (logic is now pushed in Code)
*) Add helper methods in Gen to make opcode marking easier/less verbose
*) Fix: Code.codeWidth returns wrong size for multianewarray
*) Fix: Code.codeWidth lacks case for anewarray
*) Fix: Opcode enum lacks constant for ldc_w

! src/share/classes/com/sun/tools/javac/jvm/Code.java
! src/share/classes/com/sun/tools/javac/jvm/Gen.java
! src/share/classes/com/sun/tools/javac/jvm/Items.java
! test/tools/javac/valhalla/typespec/items/Opcodes.java

More information about the valhalla-dev mailing list