mirror of
https://github.com/corda/corda.git
synced 2025-01-05 20:54:13 +00:00
fix warning in disassembler code
Apple's GCC is more picky about undefined ordering (and rightfully so)...
This commit is contained in:
parent
7bd3ea1892
commit
5d6899a867
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user