diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-02-17 12:35:16 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-02-17 12:35:16 +0100 |
commit | 1ae2a2654a84f68d4b2618db6ccb2bb8336824b7 (patch) | |
tree | 2d913b9b59180acaf231eca02dbca5c3ebc841a1 /tools/test-js-optimizer-regs.js | |
parent | d646177eae20378a379c5651d2150a81566a945c (diff) |
fix registerize bug on functions with arguments but no locals
Diffstat (limited to 'tools/test-js-optimizer-regs.js')
-rw-r--r-- | tools/test-js-optimizer-regs.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/test-js-optimizer-regs.js b/tools/test-js-optimizer-regs.js index 4802afa3..3013e518 100644 --- a/tools/test-js-optimizer-regs.js +++ b/tools/test-js-optimizer-regs.js @@ -230,4 +230,8 @@ function switchey(x) { var aaa = x+2; pp(aaa); } -// EMSCRIPTEN_GENERATED_FUNCTIONS: ["test", "primes", "atomic", "fcntl_open", "ex", "switchey"] +function __ZN14NetworkAddressC1EPKcti($this) { + __ZN14NetworkAddressC2EPKcti($this); + return; +} +// EMSCRIPTEN_GENERATED_FUNCTIONS: ["test", "primes", "atomic", "fcntl_open", "ex", "switchey", "__ZN14NetworkAddressC1EPKcti"] |