diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-07-14 10:14:10 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-07-14 10:14:10 -0700 |
commit | d98e6e30ca7ac2e5ffa86306e1155f832363792b (patch) | |
tree | 45b148a549b9a424f2b8ed2a2471236e800c01ee /tools/test-js-optimizer-asm-pre-output.js | |
parent | aff455b14835e51d540e878923b83695f8517a88 (diff) |
do not eliminate away tempDoublePtr uses that are alignment fixes; fixes #1375
Diffstat (limited to 'tools/test-js-optimizer-asm-pre-output.js')
-rw-r--r-- | tools/test-js-optimizer-asm-pre-output.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-asm-pre-output.js b/tools/test-js-optimizer-asm-pre-output.js index 44cc859a..8a5803d6 100644 --- a/tools/test-js-optimizer-asm-pre-output.js +++ b/tools/test-js-optimizer-asm-pre-output.js @@ -157,6 +157,8 @@ function tempDoublePtr($45, $14, $28, $42) { unelim2 = 127 + $14 | 0; func(); HEAP32[4] = unelim2; + barrier(); + $f163 = (HEAP32[tempDoublePtr >> 2] = HEAP32[$f165 >> 2], HEAP32[tempDoublePtr + 4 >> 2] = HEAP32[$f165 + 4 >> 2], +HEAPF64[tempDoublePtr >> 3]); } function boxx($this, $aabb, $xf, $childIndex) { $this = $this | 0; |