| Index: src/runtime/runtime-date.cc
|
| diff --git a/src/runtime/runtime-date.cc b/src/runtime/runtime-date.cc
|
| index d2b93f03684e9db5238865f7a55c4e8e85ca94e2..b53b7fa4c031e899fc65f68dcdf615bf70ef1324 100644
|
| --- a/src/runtime/runtime-date.cc
|
| +++ b/src/runtime/runtime-date.cc
|
| @@ -78,7 +78,10 @@ RUNTIME_FUNCTION(Runtime_DateCurrentTime) {
|
| // time is milliseconds. Therefore, we floor the result of getting
|
| // the OS time.
|
| double millis;
|
| - if (FLAG_verify_predictable) {
|
| + if (FLAG_fixed_date > 0) {
|
| + millis = 1388534400000.0; // Jan 1 2014 00:00:00 GMT+0000
|
| + millis += 1000.0 * FLAG_fixed_date;
|
| + } else if (FLAG_verify_predictable) {
|
| millis = 1388534400000.0; // Jan 1 2014 00:00:00 GMT+0000
|
| millis += Floor(isolate->heap()->synthetic_time());
|
| } else {
|
|
|