summaryrefslogtreecommitdiff
path: root/test/decompile/basic.txt
diff options
context:
space:
mode:
authorWouter van Oortmerssen <aardappel@gmail.com>2020-01-02 14:51:23 -0800
committerGitHub <noreply@github.com>2020-01-02 14:51:23 -0800
commitd008411c9bb1ae11caf9912c625898bba6e12666 (patch)
tree1f894b9dbb1a9e0ce35f9d5dbd8bb731656d857a /test/decompile/basic.txt
parent76ff3af40040a90c15b6b9f2614f3a3869dbdab1 (diff)
downloadwabt-d008411c9bb1ae11caf9912c625898bba6e12666.tar.gz
wabt-d008411c9bb1ae11caf9912c625898bba6e12666.tar.bz2
wabt-d008411c9bb1ae11caf9912c625898bba6e12666.zip
wasm-decompile: added precedence support. (#1277)
Previously it would simply bracket all binary exps. Now it has a precedence system that is in line with what people know from most programming languages.
Diffstat (limited to 'test/decompile/basic.txt')
-rw-r--r--test/decompile/basic.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/decompile/basic.txt b/test/decompile/basic.txt
index 90665103..ebb5dd46 100644
--- a/test/decompile/basic.txt
+++ b/test/decompile/basic.txt
@@ -82,7 +82,7 @@ export function f(a:int, b:int):int {
var c:long = 8L;
var d:float = 6.0f;
var e:double = 7.0;
- if (e < 10.0) { 1[4]:int = (2[3]:int + 5) }
+ if (e < 10.0) { 1[4]:int = 2[3]:int + 5 }
f(a + g_b, 9);
loop L_b {
block B_c {