diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-03-08 10:17:44 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-03-08 10:17:44 -0800 |
commit | 82ddb0715d1aa655841223cff314a5377fe10aa5 (patch) | |
tree | 99908b418c6234544f033abc00ad7dbed6adba93 /tools/eliminator | |
parent | 1836357e38f7a13c3ac3810ed0e82a8d393c5a3c (diff) |
send only a marker of generated functions to js-optimizer.js; we either know the generated functions and send only them, or we don't know them and send all the code, in either case js-optimizer.js does not need a list of generated functions
Diffstat (limited to 'tools/eliminator')
-rw-r--r-- | tools/eliminator/eliminator-test-output.js | 7 | ||||
-rw-r--r-- | tools/eliminator/eliminator-test.js | 7 |
2 files changed, 0 insertions, 14 deletions
diff --git a/tools/eliminator/eliminator-test-output.js b/tools/eliminator/eliminator-test-output.js index 32b7ddcf..69539e91 100644 --- a/tools/eliminator/eliminator-test-output.js +++ b/tools/eliminator/eliminator-test-output.js @@ -192,13 +192,6 @@ function strtok_part(b, j, f) { function py() { HEAP[HEAP[HEAP[__PyThreadState_Current] + 12] + 1 + 12] = 99; } -function otherPy() { - var $4 = HEAP[__PyThreadState_Current]; - var $5 = $4 + 12; - var $7 = HEAP[$5] + 1; - var $8 = $4 + 12; - HEAP[$8] = $7; -} var anon = (function(x) { var $4 = HEAP[__PyThreadState_Current]; var $5 = $4 + 12; diff --git a/tools/eliminator/eliminator-test.js b/tools/eliminator/eliminator-test.js index 13ecab59..3edd61ac 100644 --- a/tools/eliminator/eliminator-test.js +++ b/tools/eliminator/eliminator-test.js @@ -230,13 +230,6 @@ function py() { var $8 = $7 + 12; HEAP[$8] = 99; } -function otherPy() { - var $4 = HEAP[__PyThreadState_Current]; - var $5 = $4 + 12; - var $7 = HEAP[$5] + 1; - var $8 = $4 + 12; - HEAP[$8] = $7; -} var anon = function(x) { var $4 = HEAP[__PyThreadState_Current]; var $5 = $4 + 12; |