| Index: src/d8.cc
|
| diff --git a/src/d8.cc b/src/d8.cc
|
| index b73ab0bd6a6be5b171a1c1258d65e05c0c8f079f..9fd43091673b2e44ddc143cee45a0352da75a0d1 100644
|
| --- a/src/d8.cc
|
| +++ b/src/d8.cc
|
| @@ -429,9 +429,7 @@ int PerIsolateData::RealmIndexOrThrow(
|
| // of Heap::allocations_count().
|
| void Shell::PerformanceNow(const v8::FunctionCallbackInfo<v8::Value>& args) {
|
| if (i::FLAG_verify_predictable) {
|
| - Isolate* v8_isolate = args.GetIsolate();
|
| - i::Heap* heap = reinterpret_cast<i::Isolate*>(v8_isolate)->heap();
|
| - args.GetReturnValue().Set(heap->synthetic_time());
|
| + args.GetReturnValue().Set(g_platform->MonotonicallyIncreasingTime());
|
| } else {
|
| base::TimeDelta delta =
|
| base::TimeTicks::HighResolutionNow() - kInitialTicks;
|
|
|