Cosmetic fixes

opam-2.0.0
Volodymyr Shymanskyy 2 years ago
parent 753a3b4f06
commit 949fee7555

@ -1246,11 +1246,12 @@ M3Result Compile_ExtendedOpcode (IM3Compilation o, m3opcode_t i_opcode)
{ {
_try { _try {
u32 opcode; u32 opcode;
_ (ReadLEB_u32 (& opcode, & o->wasm, o->wasmEnd)); m3log (compile, d_indent " (FC: %" PRIi32 ")", get_indention_string (o), opcode); _ (ReadLEB_u32 (& opcode, & o->wasm, o->wasmEnd));
_throwif ("opcode parsing failed", opcode > 0xFF); _throwif ("opcode parsing failed", opcode > 0xFF);
i_opcode = (i_opcode << 8) | opcode; i_opcode = (i_opcode << 8) | opcode; m3log (compile, d_indent " (ext: 0x%" PRIx32 ")", get_indention_string (o), i_opcode);
//printf("Extended opcode: 0x%x\n", i_opcode); //printf("Extended opcode: 0x%x\n", i_opcode);

@ -49,7 +49,7 @@ from pprint import pprint
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("--exec", metavar="<interpreter>", default="../build/wasm3 --repl") parser.add_argument("--exec", metavar="<interpreter>", default="../build/wasm3 --repl")
parser.add_argument("--spec", default="main") parser.add_argument("--spec", default="opam-2.0.0")
parser.add_argument("--timeout", type=int, default=30) parser.add_argument("--timeout", type=int, default=30)
parser.add_argument("--line", metavar="<source line>", type=int) parser.add_argument("--line", metavar="<source line>", type=int)
parser.add_argument("--all", action="store_true") parser.add_argument("--all", action="store_true")
@ -340,7 +340,7 @@ blacklist = Blacklist([
]) ])
# TODO: Fix those for Wasm 2.0 support # TODO: Fix those for Wasm 2.0 support
if args.spec == "main": if args.spec == "opam-2.0.0":
blacklist.add([ blacklist.add([
"* select.0.wasm select-*-t*", "* select.0.wasm select-*-t*",
"* select.0.wasm select-*ref*", "* select.0.wasm select-*ref*",

Loading…
Cancel
Save