diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-21 22:04:28 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-21 22:04:28 -0800 |
commit | d85a66e494512af061f359a575c6be46b68e7e9d (patch) | |
tree | 62951a1fd04cc0fbba6822956a0b419a853a3979 /tools/test-js-optimizer-output.js | |
parent | b787b69400f66ee21f2e0acd2691d25751b7e746 (diff) |
fix hoistMultiples bug
Diffstat (limited to 'tools/test-js-optimizer-output.js')
-rw-r--r-- | tools/test-js-optimizer-output.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/test-js-optimizer-output.js b/tools/test-js-optimizer-output.js index aa494a05..39b91039 100644 --- a/tools/test-js-optimizer-output.js +++ b/tools/test-js-optimizer-output.js @@ -164,4 +164,8 @@ var FS = { return absolute.length == 1 ? "/" : absolute.join("/"); }) }; +function sleep() { + while (Date.now() - start < msec) {} + return 0; +} // EMSCRIPTEN_GENERATED_FUNCTIONS: ["abc", "xyz", "xyz2", "expr", "loopy", "bits", "maths", "hoisting"] |