diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-05 13:47:07 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-07 14:23:23 -0800 |
commit | cd8d5c1f7f73143894efbfc0ff4c1a83606e57ee (patch) | |
tree | 9710404e03988c4f6a3e5cc2db5a46c3434d1940 /tools/eliminator/asm-eliminator-test-output.js | |
parent | b68810bdeed7f07c6d7787e2b5c8e50eed1406c4 (diff) |
another eliminateAsm bug+testcase
Diffstat (limited to 'tools/eliminator/asm-eliminator-test-output.js')
-rw-r--r-- | tools/eliminator/asm-eliminator-test-output.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/eliminator/asm-eliminator-test-output.js b/tools/eliminator/asm-eliminator-test-output.js index e744b847..15d3a74c 100644 --- a/tools/eliminator/asm-eliminator-test-output.js +++ b/tools/eliminator/asm-eliminator-test-output.js @@ -50,4 +50,18 @@ function _segment_holding($addr) { return $_0; } } +function __ZN5identC2EiPKcPci($this, $n, $a) { + $this = $this | 0; + $n = $n | 0; + $a = $a | 0; + HEAP32[($this & 16777215) >> 2] = __ZTV5ident + 8 | 0; + HEAP32[($this + 4 & 16777215) >> 2] = 5; + HEAP32[($this + 8 & 16777215) >> 2] = $n; + HEAP32[($this + 20 & 16777215) >> 2] = 2147483647; + HEAP32[($this + 24 & 16777215) >> 2] = 0; + HEAP32[($this + 28 & 16777215) >> 2] = $a; + HEAP32[($this + 32 & 16777215) >> 2] = 0; + HEAP32[($this + 40 & 16777215) >> 2] = 1; + return; +} |