aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Jylänki <jujjyl@gmail.com>2013-04-24 22:37:06 +0300
committerJukka Jylänki <jujjyl@gmail.com>2013-04-24 22:37:06 +0300
commitc8eeaf336ff6b82664da34b04d06ba7283a9f262 (patch)
tree3bb1a315513be3d6bafabe6466362325e6e86086
parentb1c49bd22d0e51543f7eecc27126e1f9bb0787f8 (diff)
Remove unneeded >>> 0 in llvm_uadd_with_overflow_i64.
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index db84430e..cd416599 100644
--- a/src/library.js
+++ b/src/library.js
@@ -7563,7 +7563,7 @@ LibraryManager.library = {
h = (b + d)>>>0;
overflow = ((h>>>0) < (b>>>0))>>>0; // Return whether addition overflowed even the high word.
h = h + (((l>>>0) < (a>>>0))>>>0)>>>0; // Add carry from low word to high word on overflow.
- overflow = (overflow | ((h == 0)>>>0))>>>0; // Check again for overflow.
+ overflow = overflow | (h == 0); // Check again for overflow.
{{{ makeStructuralReturn(['l|0', 'h', 'overflow'], true) }}};
},