Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index b8437dbd15abece48490dcf3baf333f44276293e..f9e87bfaba6e92d393701edc1f4037e55c4f8937 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -2312,13 +2312,10 @@ bool Isolate::Init(Deserializer* des) { |
Internals::kIsolateEmbedderDataOffset); |
CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.roots_)), |
Internals::kIsolateRootsOffset); |
- CHECK_EQ(static_cast<int>( |
- OFFSET_OF(Isolate, heap_.amount_of_external_allocated_memory_)), |
- Internals::kAmountOfExternalAllocatedMemoryOffset); |
- CHECK_EQ(static_cast<int>(OFFSET_OF( |
- Isolate, |
- heap_.amount_of_external_allocated_memory_at_last_global_gc_)), |
- Internals::kAmountOfExternalAllocatedMemoryAtLastGlobalGCOffset); |
+ CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.external_memory_)), |
+ Internals::kExternalMemoryOffset); |
+ CHECK_EQ(static_cast<int>(OFFSET_OF(Isolate, heap_.external_memory_limit_)), |
+ Internals::kExternalMemoryLimitOffset); |
time_millis_at_init_ = heap_.MonotonicallyIncreasingTimeInMs(); |