Commit 364c02e7 authored by jochen@chromium.org's avatar jochen@chromium.org

Fix compilation on win after r19784

TBR=dcarney@chromium.org
BUG=

Review URL: https://codereview.chromium.org/194703002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19785 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 00ba7116
...@@ -5626,9 +5626,10 @@ void v8::Date::DateTimeConfigurationChangeNotification(Isolate* isolate) { ...@@ -5626,9 +5626,10 @@ void v8::Date::DateTimeConfigurationChangeNotification(Isolate* isolate) {
i::Handle<i::FixedArray>::cast(i_isolate->eternal_handles()->GetSingleton( i::Handle<i::FixedArray>::cast(i_isolate->eternal_handles()->GetSingleton(
i::EternalHandles::DATE_CACHE_VERSION)); i::EternalHandles::DATE_CACHE_VERSION));
ASSERT_EQ(1, date_cache_version->length()); ASSERT_EQ(1, date_cache_version->length());
ASSERT(date_cache_version->get(0)->IsNumber()); CHECK(date_cache_version->get(0)->IsSmi());
date_cache_version->set(0, i::Smi::FromInt( date_cache_version->set(
date_cache_version->get(0)->Number() + 1)); 0,
i::Smi::FromInt(i::Smi::cast(date_cache_version->get(0))->value() + 1));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment