Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index 09113c366d329bb28f92b62fc981193b2735cebb..34ddf8d562eac536462ff79d1263050cfced734e 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -34,7 +34,8 @@ |
#include "src/regexp/regexp-stack.h" |
#include "src/runtime-profiler.h" |
#include "src/simulator.h" |
-#include "src/snapshot/serialize.h" |
+#include "src/snapshot/deserializer.h" |
+#include "src/snapshot/serializer-common.h" |
#include "src/v8.h" |
#include "src/version.h" |
#include "src/vm-state-inl.h" |
@@ -2299,9 +2300,8 @@ bool Isolate::Init(Deserializer* des) { |
// the snapshot. |
HandleScope scope(this); |
Deoptimizer::EnsureCodeForDeoptimizationEntry( |
- this, |
- Deoptimizer::LAZY, |
- kDeoptTableSerializeEntryCount - 1); |
+ this, Deoptimizer::LAZY, |
+ ExternalReferenceTable::kDeoptTableSerializeEntryCount - 1); |
} |
if (!serializer_enabled()) { |