Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 4048886fdb76b5a499a4fb83670924fc998c4b2e..ed7f04579d01b5d05ddea758a619fea87573699d 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -276,10 +276,21 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) { |
ACCESSOR, \ |
Accessors::k##name, \ |
"Accessors::" #name); |
- |
ACCESSOR_DESCRIPTOR_LIST(ACCESSOR_DESCRIPTOR_DECLARATION) |
#undef ACCESSOR_DESCRIPTOR_DECLARATION |
+#define ACCESSOR_INFO_DECLARATION(name) \ |
+ Add(FUNCTION_ADDR(&Accessors::name##Getter), \ |
+ ACCESSOR, \ |
+ Accessors::k##name##Getter, \ |
+ "Accessors::" #name "Getter"); \ |
+ Add(FUNCTION_ADDR(&Accessors::name##Setter), \ |
+ ACCESSOR, \ |
+ Accessors::k##name##Setter, \ |
+ "Accessors::" #name "Setter"); |
+ ACCESSOR_INFO_LIST(ACCESSOR_INFO_DECLARATION) |
+#undef ACCESSOR_INFO_DECLARATION |
+ |
StubCache* stub_cache = isolate->stub_cache(); |
// Stub cache tables |