From 3a3b98fdf96a93191d6c14f3b3cd2b757b961ec0 Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Sat, 15 Dec 2018 21:39:00 -0800 Subject: [PATCH] cmd/compile/internal/ssa/gen: set wasm genfile This appears to have been an oversight and/or left over from development. Setting the genfile means that extra sanity checks are executed when regenerating SSA files. They already pass. Change-Id: Icc01ecf85020d3d51355e8bccfbc521b52371747 Reviewed-on: https://go-review.googlesource.com/c/154459 Run-TryBot: Josh Bleecher Snyder Reviewed-by: Keith Randall --- src/cmd/compile/internal/ssa/gen/WasmOps.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/compile/internal/ssa/gen/WasmOps.go b/src/cmd/compile/internal/ssa/gen/WasmOps.go index 9b4f66d3f17..e0f2f92a3f7 100644 --- a/src/cmd/compile/internal/ssa/gen/WasmOps.go +++ b/src/cmd/compile/internal/ssa/gen/WasmOps.go @@ -196,7 +196,7 @@ func init() { archs = append(archs, arch{ name: "Wasm", pkg: "cmd/internal/obj/wasm", - genfile: "", + genfile: "../../wasm/ssa.go", ops: WasmOps, blocks: nil, regnames: regNamesWasm,