aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-16 10:06:30 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-16 10:06:30 -0800
commit58132ad51111bcb024f7a9f2bdce970324c05e00 (patch)
tree0a509eb56ead2fed56e4f4f2432387ed1b75903e /tools/test-js-optimizer-output.js
parent22dc3bb223334137a3b7c77906b8960a9197be7a (diff)
improve side effect detection in js optimizer
Diffstat (limited to 'tools/test-js-optimizer-output.js')
-rw-r--r--tools/test-js-optimizer-output.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-output.js b/tools/test-js-optimizer-output.js
index acf48008..17c06a95 100644
--- a/tools/test-js-optimizer-output.js
+++ b/tools/test-js-optimizer-output.js
@@ -173,6 +173,8 @@ function hoisting() {
if (__label__ == 38) {
var $79 = $_pr6;
}
+ pause(9);
+ var $cmp70 = ($call69 | 0) != 0;
}
function innerShouldAlsoBeHoisted() {
function hoisting() {