| Index: src/runtime/runtime-date.cc
|
| diff --git a/src/runtime/runtime-date.cc b/src/runtime/runtime-date.cc
|
| index f8b88e1398ea4c5c1daa0c7de9f24e28c612342d..844ca25fd5557eff7e7fb074cda10747956ac34c 100644
|
| --- a/src/runtime/runtime-date.cc
|
| +++ b/src/runtime/runtime-date.cc
|
| @@ -152,6 +152,7 @@ RUNTIME_FUNCTION(Runtime_DateToUTC) {
|
| RUNTIME_FUNCTION(Runtime_DateCacheVersion) {
|
| HandleScope hs(isolate);
|
| DCHECK(args.length() == 0);
|
| + if (isolate->serializer_enabled()) return isolate->heap()->undefined_value();
|
| if (!isolate->eternal_handles()->Exists(EternalHandles::DATE_CACHE_VERSION)) {
|
| Handle<FixedArray> date_cache_version =
|
| isolate->factory()->NewFixedArray(1, TENURED);
|
|
|