Index: src/heap.h |
diff --git a/src/heap.h b/src/heap.h |
index 19fb89f3205f6a034292492d195b61ea7431501a..dcd813b7743e8822b40814abe65f50a9ea912665 100644 |
--- a/src/heap.h |
+++ b/src/heap.h |
@@ -122,7 +122,12 @@ namespace internal { |
#if V8_TARGET_ARCH_ARM && !V8_INTERPRETED_REGEXP |
#define STRONG_ROOT_LIST(V) \ |
UNCONDITIONAL_STRONG_ROOT_LIST(V) \ |
- V(Code, re_c_entry_code, RegExpCEntryCode) |
+ V(Code, re_c_entry_code, RegExpCEntryCode) \ |
+ V(Code, direct_c_entry_code, DirectCEntryCode) |
+#elif V8_TARGET_ARCH_ARM |
+#define STRONG_ROOT_LIST(V) \ |
+ UNCONDITIONAL_STRONG_ROOT_LIST(V) \ |
+ V(Code, direct_c_entry_code, DirectCEntryCode) |
#else |
#define STRONG_ROOT_LIST(V) UNCONDITIONAL_STRONG_ROOT_LIST(V) |
#endif |
@@ -1320,12 +1325,13 @@ class Heap : public AllStatic { |
static bool CreateInitialMaps(); |
static bool CreateInitialObjects(); |
- // These four Create*EntryStub functions are here and forced to not be inlined |
+ // These five Create*EntryStub functions are here and forced to not be inlined |
// because of a gcc-4.4 bug that assigns wrong vtable entries. |
NO_INLINE(static void CreateCEntryStub()); |
NO_INLINE(static void CreateJSEntryStub()); |
NO_INLINE(static void CreateJSConstructEntryStub()); |
NO_INLINE(static void CreateRegExpCEntryStub()); |
+ NO_INLINE(static void CreateDirectCEntryStub()); |
static void CreateFixedStubs(); |