aboutsummaryrefslogtreecommitdiff
path: root/tools/eliminator
diff options
context:
space:
mode:
Diffstat (limited to 'tools/eliminator')
-rw-r--r--tools/eliminator/eliminator-test-output.js10
-rw-r--r--tools/eliminator/eliminator-test.js1
2 files changed, 5 insertions, 6 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js
index dea7c1d5..0ce86688 100644
--- a/tools/eliminator/eliminator-test-output.js
+++ b/tools/eliminator/eliminator-test-output.js
@@ -56,10 +56,8 @@ function a() {
chak();
tor(HEAP[9]);
barrier();
- var $65, $image, $51$s2, $71;
- var $66 = HEAP32[$65 >> 2];
- var $71 = $66 - _int_ceildiv(HEAP32[$image >> 2], HEAP32[$51$s2]) | 0;
- HEAP32[$65 >> 2] = _int_ceildivpow2($71, HEAP32[$51$s2 + 10]);
+ var $65, $image, $51$s2;
+ HEAP32[$65 >> 2] = _int_ceildivpow2(HEAP32[$65 >> 2] - _int_ceildiv(HEAP32[$image >> 2], HEAP32[$51$s2]) | 0, HEAP32[$51$s2 + 10]);
}
function b() {
var $148 = _sqlite3Strlen30($147);
@@ -73,8 +71,8 @@ function b() {
HEAP32[$139 + ($136 << 4) + 4 >> 2] = _sqlite3FindFunction($145, $147, $148, $156, $135, 0);
}
function c() {
- var x = MEM[100], y = callMe(5), z = glob;
- zoom(z);
+ var x = MEM[100], y = callMe(5);
+ zoom(glob);
hail(x * 2);
sunk(y);
barrier();
diff --git a/tools/eliminator/eliminator-test.js b/tools/eliminator/eliminator-test.js
index 6002b181..f57cf252 100644
--- a/tools/eliminator/eliminator-test.js
+++ b/tools/eliminator/eliminator-test.js
@@ -8791,3 +8791,4 @@ function _mallocNoU($bytes) {
return null;
}
// EMSCRIPTEN_GENERATED_FUNCTIONS: ["a", "b", "c", "f", "g", "h", "py", "r", "t", "f2", "f3", "llvm3_1", "_inflate", "_malloc", "_mallocNoU"]
+