aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-shiftsAggressive-output.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-01-14 20:53:53 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-01-14 20:54:14 -0800
commit60a86d0fcb15b8381f1fc97ad17571cb281f26c1 (patch)
tree1244fbd2f7ebbb404b503619fdf7477a89d737ba /tools/test-js-optimizer-shiftsAggressive-output.js
parentb5ca47aee27b1dd86ad2623c4591019ad0be97ea (diff)
fix aggressiveVariableElimination bug and add testing
Diffstat (limited to 'tools/test-js-optimizer-shiftsAggressive-output.js')
-rw-r--r--tools/test-js-optimizer-shiftsAggressive-output.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-shiftsAggressive-output.js b/tools/test-js-optimizer-shiftsAggressive-output.js
new file mode 100644
index 00000000..5b429786
--- /dev/null
+++ b/tools/test-js-optimizer-shiftsAggressive-output.js
@@ -0,0 +1,11 @@
+function __ZNSt3__111__call_onceERVmPvPFvS2_E($flag, $arg, $func) {
+ $flag = $flag | 0;
+ $arg = $arg | 0;
+ $func = $func | 0;
+ var $2 = 0;
+ $2 = cheez();
+ whee1($flag + 1 | 0);
+ whee2($flag + 1 | 0);
+ whee3($flag + 1 | 0);
+}
+