aboutsummaryrefslogtreecommitdiff
path: root/tools/test-js-optimizer-asm-pre.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-03-09 20:22:33 -0800
committerAlon Zakai <alonzakai@gmail.com>2013-03-09 20:22:33 -0800
commitb5c3e1bda0ef9080228f452ce7ca8c60d3dcf452 (patch)
tree5a3f7d515a29be506edfd2beb0a4d391ab6faa0b /tools/test-js-optimizer-asm-pre.js
parent0f538ae57bb65af11efb7372661ba7c929c98d61 (diff)
remove coercions on asm function calls that have no capturing variables
Diffstat (limited to 'tools/test-js-optimizer-asm-pre.js')
-rw-r--r--tools/test-js-optimizer-asm-pre.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-pre.js b/tools/test-js-optimizer-asm-pre.js
index 42eb435a..36fe245a 100644
--- a/tools/test-js-optimizer-asm-pre.js
+++ b/tools/test-js-optimizer-asm-pre.js
@@ -6,6 +6,8 @@ function a() {
f(347 & 12);
HEAP[4096 >> 2] = 5;
HEAP[(4096 & 8191) >> 2] = 5;
+ whee(12, 13) | 0;
+ +whee(12, 13);
}
function b($this, $__n) {
$this = $this | 0;