Index: src/snapshot/serialize.cc |
diff --git a/src/snapshot/serialize.cc b/src/snapshot/serialize.cc |
index 58a80940ee51b8d8403b7daa156bb19e3c022e04..e66774eb1b8271fc39ea421dd9065a5eea085cb4 100644 |
--- a/src/snapshot/serialize.cc |
+++ b/src/snapshot/serialize.cc |
@@ -268,9 +268,14 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) { |
static const AccessorRefTable accessors[] = { |
#define ACCESSOR_INFO_DECLARATION(name) \ |
{ FUNCTION_ADDR(&Accessors::name##Getter), "Accessors::" #name "Getter" } \ |
- , {FUNCTION_ADDR(&Accessors::name##Setter), "Accessors::" #name "Setter"}, |
+ , |
ACCESSOR_INFO_LIST(ACCESSOR_INFO_DECLARATION) |
#undef ACCESSOR_INFO_DECLARATION |
+#define ACCESSOR_SETTER_DECLARATION(name) \ |
+ { FUNCTION_ADDR(&Accessors::name), "Accessors::" #name } \ |
+ , |
+ ACCESSOR_SETTER_LIST(ACCESSOR_SETTER_DECLARATION) |
+#undef ACCESSOR_INFO_DECLARATION |
}; |
for (unsigned i = 0; i < arraysize(accessors); ++i) { |