Index: src/date.cc |
diff --git a/src/date.cc b/src/date.cc |
index cc7603322de2d6a02ce8839cd059ce60578b0a48..f98ad64f1f871cb7155600b3a25d286aed1ccaf2 100644 |
--- a/src/date.cc |
+++ b/src/date.cc |
@@ -25,7 +25,7 @@ static const char kDaysInMonths[] = |
void DateCache::ResetDateCache() { |
static const int kMaxStamp = Smi::kMaxValue; |
if (stamp_->value() >= kMaxStamp) { |
- stamp_ = Smi::kZero; |
+ stamp_ = Smi::FromInt(0); |
} else { |
stamp_ = Smi::FromInt(stamp_->value() + 1); |
} |