summaryrefslogtreecommitdiff
path: root/deps/v8/src/diy-fp.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/diy-fp.h')
-rw-r--r--deps/v8/src/diy-fp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/src/diy-fp.h b/deps/v8/src/diy-fp.h
index f8f2673c4..31f787265 100644
--- a/deps/v8/src/diy-fp.h
+++ b/deps/v8/src/diy-fp.h
@@ -25,8 +25,8 @@ class DiyFp {
// must be bigger than the significand of other.
// The result will not be normalized.
void Subtract(const DiyFp& other) {
- ASSERT(e_ == other.e_);
- ASSERT(f_ >= other.f_);
+ DCHECK(e_ == other.e_);
+ DCHECK(f_ >= other.f_);
f_ -= other.f_;
}
@@ -51,7 +51,7 @@ class DiyFp {
}
void Normalize() {
- ASSERT(f_ != 0);
+ DCHECK(f_ != 0);
uint64_t f = f_;
int e = e_;