diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-27 14:30:01 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-27 14:30:01 -0700 |
commit | 8b0dd454512a617d901194c09029e47ef4954567 (patch) | |
tree | bd841eecad47130db5e3bc6abf85c58cee92cfef /tools | |
parent | 00497b25cb90415d43c3ea56f2cf5fa2ca60c0a8 (diff) |
add eliminator testcase
Diffstat (limited to 'tools')
-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 29e7c185..fbecbf73 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -68,6 +68,8 @@ function a($directory) { while (ONCEb) { work(); } + var $26 = __ZL3minIiET_S0_S0_12(4096, 4096 - $16 | 0); + print(FUNCTION_TABLE[$22]($18, $16 + ($this + 27) | 0, $26)); } function b() { var $148 = _sqlite3Strlen30($147); diff --git a/tools/eliminator/eliminator-test.js b/tools/eliminator/eliminator-test.js index 7d0a865e..8a7f3d72 100644 --- a/tools/eliminator/eliminator-test.js +++ b/tools/eliminator/eliminator-test.js @@ -86,6 +86,9 @@ function a($directory) { while (ONCEb) { work(); } + var $26 = __ZL3minIiET_S0_S0_12(4096, 4096 - $16 | 0); // cannot eliminate this because the call might modify FUNCTION_TABLE + var $27 = FUNCTION_TABLE[$22]($18, $this + ($16 + 27) | 0, $26); + print($27); } function b() { var $148 = _sqlite3Strlen30($147); |