Index: src/isolate.cc |
diff --git a/src/isolate.cc b/src/isolate.cc |
index bd607e2f3712c03a7f071a884fd5c355684c4912..9a21e236cff78bb6608250837e72e8ca49afbd24 100644 |
--- a/src/isolate.cc |
+++ b/src/isolate.cc |
@@ -27,6 +27,7 @@ |
#include "src/external-reference-table.h" |
#include "src/frames-inl.h" |
#include "src/ic/stub-cache.h" |
+#include "src/interface-descriptors.h" |
#include "src/interpreter/interpreter.h" |
#include "src/isolate-inl.h" |
#include "src/libsampler/sampler.h" |
@@ -2390,6 +2391,12 @@ bool Isolate::Init(Deserializer* des) { |
return false; |
} |
+// Initialize the interface descriptors ahead of time. |
+#define INTERFACE_DESCRIPTOR(V) \ |
+ { V##Descriptor(this); } |
+ INTERFACE_DESCRIPTOR_LIST(INTERFACE_DESCRIPTOR) |
+#undef INTERFACE_DESCRIPTOR |
+ |
deoptimizer_data_ = new DeoptimizerData(heap()->memory_allocator()); |
const bool create_heap_objects = (des == NULL); |