Index: src/objects-debug.cc |
diff --git a/src/objects-debug.cc b/src/objects-debug.cc |
index a61eacf4d47e42886783d93f001156b53247d9ff..8ab793e2169f11e8d7a351e38be768bee8be70db 100644 |
--- a/src/objects-debug.cc |
+++ b/src/objects-debug.cc |
@@ -501,7 +501,7 @@ void JSDate::JSDateVerify() { |
} |
if (cache_stamp()->IsSmi()) { |
CHECK(Smi::cast(cache_stamp())->value() <= |
- Smi::cast(Isolate::Current()->date_cache()->stamp())->value()); |
+ Smi::cast(GetIsolate()->date_cache()->stamp())->value()); |
} |
} |