authorgravatar for eltociear@gmail.comIkko Ashimine <eltociear@gmail.com> 2022-07-31 03:43:02+09:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2022-07-31 13:00:37-07:00
logff125db53d8c18a63872ebdcdf6dd9653eb3f56b
tree1c7058733053a50ed3150180011a7dc0a6bbaadc
parent1a1b7a3afdd3edac9e8e351ce7e21c91404f8307

wasm: fix typo in CodeGen.zig

occured -> occurred

1 files changed, 2 insertions(+), 2 deletions(-)

src/arch/wasm/CodeGen.zig+2-2
......@@ -603,7 +603,7 @@ stack_alignment: u32 = 16,
603603
604604const InnerError = error{
605605 OutOfMemory,
606 /// An error occured when trying to lower AIR to MIR.
606 /// An error occurred when trying to lower AIR to MIR.
607607 CodegenFail,
608608 /// Can occur when dereferencing a pointer that points to a `Decl` of which the analysis has failed
609609 AnalysisFail,
......@@ -4410,7 +4410,7 @@ fn airMulWithOverflow(self: *Self, inst: Air.Inst.Index) InnerError!WValue {
44104410 }
44114411
44124412 // We store the bit if it's overflowed or not in this. As it's zero-initialized
4413 // we only need to update it if an overflow (or underflow) occured.
4413 // we only need to update it if an overflow (or underflow) occurred.
44144414 const overflow_bit = try self.allocLocal(Type.initTag(.u1));
44154415 const int_info = lhs_ty.intInfo(self.target);
44164416 const wasm_bits = toWasmBits(int_info.bits) orelse {