diff options
Diffstat (limited to 'tools/eliminator')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 2 | ||||
-rw-r--r-- | tools/eliminator/eliminator-test.js | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index 3d23ac50..c32266df 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -89,6 +89,7 @@ function b() { } var $156; HEAP32[$139 + ($136 << 4) + 4 >> 2] = _sqlite3FindFunction($145, $147, $148, $156, $135, 0); + return cheez(); } function c() { var x = MEM[100], y = callMe(5); @@ -101,6 +102,7 @@ function c() { zoom(glob); hail(w2); sunk(y2); + return; } function f() { HEAP[123] = (GLOB[1] + 1) / 2; diff --git a/tools/eliminator/eliminator-test.js b/tools/eliminator/eliminator-test.js index c968d4d7..1c6af7f3 100644 --- a/tools/eliminator/eliminator-test.js +++ b/tools/eliminator/eliminator-test.js @@ -109,6 +109,8 @@ function b() { } var $156; HEAP32[$139 + ($136 << 4) + 4 >> 2] = _sqlite3FindFunction($145, $147, $148, $156, $135, 0); + var finality = cheez(); + return finality; } function c() { var x = MEM[100], y = callMe(5), z = glob; // do not eliminate vars with multiple variables, if there is a call! @@ -122,6 +124,7 @@ function c() { zoom(z2); hail(w2); sunk(y2); + return; } function f() { var unused; |