| Index: src/ast.h
|
| diff --git a/src/ast.h b/src/ast.h
|
| index 66b4dd46c46fa23d577edb1ef2197ceafcf7d225..05f0653dc98ee4515390634551f5449e6ea0b46f 100644
|
| --- a/src/ast.h
|
| +++ b/src/ast.h
|
| @@ -1183,8 +1183,8 @@ class Literal: public Expression {
|
| return Handle<String>::cast(handle_);
|
| }
|
|
|
| - virtual bool ToBooleanIsTrue() { return handle_->ToBoolean()->IsTrue(); }
|
| - virtual bool ToBooleanIsFalse() { return handle_->ToBoolean()->IsFalse(); }
|
| + virtual bool ToBooleanIsTrue() { return handle_->BooleanValue(); }
|
| + virtual bool ToBooleanIsFalse() { return !handle_->BooleanValue(); }
|
|
|
| // Identity testers.
|
| bool IsNull() const {
|
|
|