diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-11-20 00:35:15 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-11-20 00:35:15 -0800 |
commit | dfe5f60e7c44d3f7fc7ac92e0ce6e76497319480 (patch) | |
tree | 17b297b308b65f7047162a602b5e308c890567f7 /src/library.js | |
parent | a1dce8a3413e8a72e4f2ecba4d6b4f771c8216e6 (diff) |
js optimizer fix, and remove assigns to undefined in library
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library.js b/src/library.js index 8c3740b3..277c4574 100644 --- a/src/library.js +++ b/src/library.js @@ -2326,9 +2326,9 @@ LibraryManager.library = { argSize = 4; break; default: - argSize = undefined; + argSize = null; } - if (argSize !== undefined) textIndex++; + if (argSize) textIndex++; next = {{{ makeGetValue(0, 'textIndex+1', 'i8') }}}; // Handle type specifier. |