aboutsummaryrefslogtreecommitdiff
path: root/src/library.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-05-22 13:38:23 -0700
committerAlon Zakai <alonzakai@gmail.com>2011-05-22 13:38:23 -0700
commit835af26449f2d17dec47adee4bcd3d7873481b66 (patch)
tree7242cea3099a11060ea2166286d98e5a56058b3a /src/library.js
parent070914c7e6fde65a2411128c6f0dad25e8e6fd33 (diff)
CHECK_SIGNS fix
Diffstat (limited to 'src/library.js')
-rw-r--r--src/library.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library.js b/src/library.js
index ebcd4bdc..6d4f048f 100644
--- a/src/library.js
+++ b/src/library.js
@@ -1302,7 +1302,7 @@ function reSign(value, bits, ignore) {
// without CHECK_SIGNS, we would just do the |0 shortcut, so check that that
// would indeed give the exact same result.
if (bits === 32 && (value|0) !== value && typeof value !== 'boolean') {
- CorrectionsMonitor.note('ReSign');
+ if (!ignore) CorrectionsMonitor.note('ReSign');
}
#endif
return value;