Index: src/heap.cc |
diff --git a/src/heap.cc b/src/heap.cc |
index 0093829b1c5f779c64e72bd4b4babab2e5e1e276..0e3a2b870e8ca5a3de41510058d578ae6e95e2a5 100644 |
--- a/src/heap.cc |
+++ b/src/heap.cc |
@@ -1943,6 +1943,14 @@ void Heap::CreateJSConstructEntryStub() { |
} |
+#if V8_TARGET_ARCH_ARM |
+void Heap::CreateDirectCEntryStub() { |
+ DirectCEntryStub stub; |
+ set_direct_c_entry_code(*stub.GetCode()); |
+} |
+#endif |
+ |
+ |
void Heap::CreateFixedStubs() { |
// Here we create roots for fixed stubs. They are needed at GC |
// for cooking and uncooking (check out frames.cc). |
@@ -1963,6 +1971,9 @@ void Heap::CreateFixedStubs() { |
#if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
Heap::CreateRegExpCEntryStub(); |
#endif |
+#if V8_TARGET_ARCH_ARM |
+ Heap::CreateDirectCEntryStub(); |
+#endif |
} |