From 03734106353b3f5a9daf74a5dabcfe8c8e2cdae4 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 26 Oct 2019 15:34:40 -0400 Subject: [PATCH] Fix comments in WASM code --- src/js/wasm/biditrie.wat | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/wasm/biditrie.wat b/src/js/wasm/biditrie.wat index e1e97ebfa..6a07e2753 100644 --- a/src/js/wasm/biditrie.wat +++ b/src/js/wasm/biditrie.wat @@ -101,7 +101,7 @@ i32.const 1 i32.add tee_local $needleLeft - ;; if ( needleLeft === needleRight ) { break; } + ;; if ( needleLeft === needleRight ) { return 1; } get_local $needleRight i32.eq if @@ -116,7 +116,7 @@ br $compare end end ;; } - ;; return true; + ;; return 0; i32.const 0 )