Skip to content

Commit ad746ca

Browse files
austnwilpopematt
andauthored
Apply suggestion from @popematt
Co-authored-by: Matthew Pope <81593196+popematt@users.noreply.github.com>
1 parent 50045b7 commit ad746ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/amazon/ion/bytecode/bin11/ByteArrayBytecodeGenerator11.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ internal class ByteArrayBytecodeGenerator11(
3434
macroIndices: IntArray,
3535
symTab: Array<String?>
3636
) {
37-
var opcode = 0
37+
var opcode = -1
3838
while (currentPosition < source.size && !isSystemValue(opcode)) {
3939
opcode = source[currentPosition++].unsignedToInt()
4040
val handler = OpcodeHandlerTable.handler(opcode)

0 commit comments

Comments
 (0)