fix warning in disassembler code

Apple's GCC is more picky about undefined ordering (and rightfully so)...
This commit is contained in:
Joshua Warner 2012-05-24 08:34:46 -06:00
parent 7bd3ea1892
commit 5d6899a867

View File

@ -1649,7 +1649,10 @@ disassembleCode(const char* prefix, uint8_t* code, unsigned length)
case monitorenter: fprintf(stderr, "monitorenter\n"); break;
case monitorexit: fprintf(stderr, "monitorexit\n"); break;
case multianewarray: fprintf(stderr, "multianewarray %04x %02x\n", read16(code, ip), code[ip++]); break;
case multianewarray: {
unsigned type = read16(code, ip);
fprintf(stderr, "multianewarray %04x %02x\n", type, code[ip++]);
} break;
case new_: fprintf(stderr, "new %04x\n", read16(code, ip)); break;