| Index: src/ast-value-factory.h
|
| diff --git a/src/ast-value-factory.h b/src/ast-value-factory.h
|
| index bb93d10cd25c2369a418d728c9c9e1ff56541668..c3bf24c2d67c96ced6b99341de54648afb178d07 100644
|
| --- a/src/ast-value-factory.h
|
| +++ b/src/ast-value-factory.h
|
| @@ -52,7 +52,7 @@ class AstString : public ZoneObject {
|
|
|
| // This function can be called after internalizing.
|
| V8_INLINE Handle<String> string() const {
|
| - ASSERT(!string_.is_null());
|
| + DCHECK(!string_.is_null());
|
| return string_;
|
| }
|
|
|
| @@ -177,7 +177,7 @@ class AstValue : public ZoneObject {
|
| if (type_ == STRING) {
|
| return string_->string();
|
| }
|
| - ASSERT(!value_.is_null());
|
| + DCHECK(!value_.is_null());
|
| return value_;
|
| }
|
|
|
| @@ -203,7 +203,7 @@ class AstValue : public ZoneObject {
|
| explicit AstValue(double n) : type_(NUMBER) { number_ = n; }
|
|
|
| AstValue(Type t, int i) : type_(t) {
|
| - ASSERT(type_ == SMI);
|
| + DCHECK(type_ == SMI);
|
| smi_ = i;
|
| }
|
|
|
| @@ -214,7 +214,7 @@ class AstValue : public ZoneObject {
|
| }
|
|
|
| explicit AstValue(Type t) : type_(t) {
|
| - ASSERT(t == NULL_TYPE || t == UNDEFINED || t == THE_HOLE);
|
| + DCHECK(t == NULL_TYPE || t == UNDEFINED || t == THE_HOLE);
|
| }
|
|
|
| Type type_;
|
|
|