From ff125db53d8c18a63872ebdcdf6dd9653eb3f56b Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Sun, 31 Jul 2022 03:43:02 +0900 Subject: [PATCH] wasm: fix typo in CodeGen.zig occured -> occurred --- src/arch/wasm/CodeGen.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/arch/wasm/CodeGen.zig b/src/arch/wasm/CodeGen.zig index fd9e13a220..91072d0b4c 100644 --- a/src/arch/wasm/CodeGen.zig +++ b/src/arch/wasm/CodeGen.zig @@ -603,7 +603,7 @@ stack_alignment: u32 = 16, const InnerError = error{ OutOfMemory, - /// An error occured when trying to lower AIR to MIR. + /// An error occurred when trying to lower AIR to MIR. CodegenFail, /// Can occur when dereferencing a pointer that points to a `Decl` of which the analysis has failed AnalysisFail, @@ -4410,7 +4410,7 @@ fn airMulWithOverflow(self: *Self, inst: Air.Inst.Index) InnerError!WValue { } // We store the bit if it's overflowed or not in this. As it's zero-initialized - // we only need to update it if an overflow (or underflow) occured. + // we only need to update it if an overflow (or underflow) occurred. const overflow_bit = try self.allocLocal(Type.initTag(.u1)); const int_info = lhs_ty.intInfo(self.target); const wasm_bits = toWasmBits(int_info.bits) orelse {