summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheng Shao <terrorjack@type.dance>2022-12-01 12:24:54 +0000
committerCheng Shao <terrorjack@type.dance>2022-12-16 21:16:28 +0000
commit1f3abd855849074471619860d6c3cc58ccfadf94 (patch)
treee45af50ae4ae52d6ea30bba69a79d7e0d2286c64
parentef9ac9d2bcf8286024b6a007d5d46e49a314e9af (diff)
downloadhaskell-1f3abd855849074471619860d6c3cc58ccfadf94.tar.gz
compiler: remove obsolete commented code in wasm NCG
It was just a temporary hack to workaround a bug in the relooper, that bug has been fixed long before the wasm backend is merged.
-rw-r--r--compiler/GHC/CmmToAsm/Wasm/Asm.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/compiler/GHC/CmmToAsm/Wasm/Asm.hs b/compiler/GHC/CmmToAsm/Wasm/Asm.hs
index 7de170bbf0..feb56371ce 100644
--- a/compiler/GHC/CmmToAsm/Wasm/Asm.hs
+++ b/compiler/GHC/CmmToAsm/Wasm/Asm.hs
@@ -374,7 +374,6 @@ asmTellWasmControl ty_word c = case c of
WasmLoop bt c -> do
asmTellLine $ "loop" <> asmFromWasmBlockType ty_word bt
asmWithTab $ asmTellWasmControl ty_word c
- -- asmTellLine "br 0"
asmTellLine "end_loop"
WasmIfTop bt t f -> do
asmTellLine $ "if" <> asmFromWasmBlockType ty_word bt