Index: src/heap.cc |
=================================================================== |
--- src/heap.cc (revision 6551) |
+++ src/heap.cc (working copy) |
@@ -1936,6 +1936,12 @@ |
set_js_construct_entry_code(*stub.GetCode()); |
} |
+#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 |
@@ -1957,6 +1963,9 @@ |
#if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
Heap::CreateRegExpCEntryStub(); |
#endif |
+#if V8_TARGET_ARCH_ARM |
+ Heap::CreateDirectCEntryStub(); |
+#endif |
} |