Index: src/code-stubs.h |
diff --git a/src/code-stubs.h b/src/code-stubs.h |
index 25328fe5c7f7a66dd185dd0ab23a2d5aeb8a2236..5a88942330e7d8cabbc446ee4d8d96ac87159b72 100644 |
--- a/src/code-stubs.h |
+++ b/src/code-stubs.h |
@@ -100,8 +100,8 @@ namespace internal { |
V(StringLength) \ |
V(KeyedStringLength) |
-// List of code stubs only used on ARM platforms. |
-#if defined(V8_TARGET_ARCH_ARM) || defined(V8_TARGET_ARCH_ARM64) |
+// List of code stubs only used on ARM 32 bits platforms. |
+#if V8_TARGET_ARCH_ARM |
#define CODE_STUB_LIST_ARM(V) \ |
V(GetProperty) \ |
V(SetProperty) \ |
@@ -111,6 +111,19 @@ namespace internal { |
#define CODE_STUB_LIST_ARM(V) |
#endif |
+// List of code stubs only used on ARM 64 bits platforms. |
+#if V8_TARGET_ARCH_ARM64 |
+#define CODE_STUB_LIST_ARM64(V) \ |
+ V(GetProperty) \ |
+ V(SetProperty) \ |
+ V(InvokeBuiltin) \ |
+ V(DirectCEntry) \ |
+ V(StoreRegistersState) \ |
+ V(RestoreRegistersState) |
+#else |
+#define CODE_STUB_LIST_ARM64(V) |
+#endif |
+ |
// List of code stubs only used on MIPS platforms. |
#if V8_TARGET_ARCH_MIPS |
#define CODE_STUB_LIST_MIPS(V) \ |
@@ -126,6 +139,7 @@ namespace internal { |
#define CODE_STUB_LIST(V) \ |
CODE_STUB_LIST_ALL_PLATFORMS(V) \ |
CODE_STUB_LIST_ARM(V) \ |
+ CODE_STUB_LIST_ARM64(V) \ |
CODE_STUB_LIST_MIPS(V) |
// Stub is base classes of all stubs. |