Skip to content

Commit

Permalink
[WebAssembly] Fix implicit fallthrough in encodeInstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanpkc committed Jul 11, 2023
1 parent 72fddda commit f2c471e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void WebAssemblyMCCodeEmitter::encodeInstruction(
Ctx.reportError(
SMLoc(),
Twine("Wasm globals should only be accessed symbolically!"));
break;
default:
encodeULEB128(uint64_t(MO.getImm()), OS);
}
Expand Down

0 comments on commit f2c471e

Please sign in to comment.