diff options
author | Thomas Lively <7121787+tlively@users.noreply.github.com> | 2018-12-10 16:43:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-10 16:43:24 -0800 |
commit | 8e19c94cf6c1d7609eaede0a30121bfbdc7efecc (patch) | |
tree | d44f630b761f057d55c72cff88d8d2845056ab42 /test/binaryen.js | |
parent | 1cf103efdd4f11c29263cde5d379f5b1ddb2ed36 (diff) | |
download | binaryen-8e19c94cf6c1d7609eaede0a30121bfbdc7efecc.tar.gz binaryen-8e19c94cf6c1d7609eaede0a30121bfbdc7efecc.tar.bz2 binaryen-8e19c94cf6c1d7609eaede0a30121bfbdc7efecc.zip |
Use template magic for tracing expressions (#1815)
Diffstat (limited to 'test/binaryen.js')
-rw-r--r-- | test/binaryen.js/kitchen-sink.js.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/test/binaryen.js/kitchen-sink.js.txt b/test/binaryen.js/kitchen-sink.js.txt index 4a320bccc..1bf43df02 100644 --- a/test/binaryen.js/kitchen-sink.js.txt +++ b/test/binaryen.js/kitchen-sink.js.txt @@ -1351,18 +1351,18 @@ int main() { BinaryenExpressionRef children[] = { 0 }; expressions[207] = BinaryenBlock(the_module, NULL, children, 0, 0); } - expressions[208] = BinaryenIf(the_module, expressions[7], expressions[8], expressions[9]); - expressions[209] = BinaryenIf(the_module, expressions[10], expressions[11], expressions[0]); + expressions[208] = BinaryenIf(the_module, expressions[7], expressions[8], expressions[9]); + expressions[209] = BinaryenIf(the_module, expressions[10], expressions[11], expressions[0]); expressions[210] = BinaryenConst(the_module, BinaryenLiteralInt32(0)); - expressions[211] = BinaryenLoop(the_module, "in", expressions[210]); + expressions[211] = BinaryenLoop(the_module, "in", expressions[210]); expressions[212] = BinaryenConst(the_module, BinaryenLiteralInt32(0)); - expressions[213] = BinaryenLoop(the_module, NULL, expressions[212]); - expressions[214] = BinaryenBreak(the_module, "the-value", expressions[12], expressions[13]); + expressions[213] = BinaryenLoop(the_module, NULL, expressions[212]); + expressions[214] = BinaryenBreak(the_module, "the-value", expressions[12], expressions[13]); expressions[215] = BinaryenConst(the_module, BinaryenLiteralInt32(2)); - expressions[216] = BinaryenBreak(the_module, "the-nothing", expressions[215], expressions[0]); + expressions[216] = BinaryenBreak(the_module, "the-nothing", expressions[215], expressions[0]); expressions[217] = BinaryenConst(the_module, BinaryenLiteralInt32(3)); - expressions[218] = BinaryenBreak(the_module, "the-value", expressions[0], expressions[217]); - expressions[219] = BinaryenBreak(the_module, "the-nothing", expressions[0], expressions[0]); + expressions[218] = BinaryenBreak(the_module, "the-value", expressions[0], expressions[217]); + expressions[219] = BinaryenBreak(the_module, "the-nothing", expressions[0], expressions[0]); { const char* names[] = { "the-value" }; expressions[220] = BinaryenSwitch(the_module, names, 1, "the-value", expressions[14], expressions[15]); |