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/eliminator-test.js | |
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/eliminator-test.js')
-rw-r--r-- | tools/eliminator/eliminator-test.js | 7 |
1 files changed, 0 insertions, 7 deletions
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; |