diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 16:35:51 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-06 16:35:51 -0800 |
commit | 91b6da47ba6aedfc34974cd8d9f7fe8f0074a4cd (patch) | |
tree | 5687948ab502692349c60975e992530b6cbde968 /tools/eliminator/eliminator-test-output.js | |
parent | c34404474ee6aa9d1c3f368792057729837812f3 (diff) |
limit eliminator to variables with a single use, to avoid exponential growth of replacements
Diffstat (limited to 'tools/eliminator/eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index 876340de..d914a5da 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -76,9 +76,8 @@ function strtok_part(b, j, f) { } } function py() { - var $7 = HEAP[HEAP[__PyThreadState_Current] + 12] + 1; - var $8 = HEAP[__PyThreadState_Current] + 12; - HEAP[$8] = $7; + var $8 = HEAP[HEAP[__PyThreadState_Current] + 12] + 1 + 12; + HEAP[$8] = 99; } function otherPy() { var $4 = HEAP[__PyThreadState_Current]; |