Index: src/serialize.cc |
diff --git a/src/serialize.cc b/src/serialize.cc |
index 094ad20b2202d87ed51f7255e1f112c741b99d4d..ecb480a8f82c097dec08ee4789dbc6653555ed49 100644 |
--- a/src/serialize.cc |
+++ b/src/serialize.cc |
@@ -240,13 +240,14 @@ void ExternalReferenceTable::PopulateTable(Isolate* isolate) { |
// Top addresses |
const char* AddressNames[] = { |
-#define C(name) "Isolate::" #name, |
- ISOLATE_ADDRESS_LIST(C) |
+#define BUILD_NAME_LITERAL(CamelName, hacker_name) \ |
+ "Isolate::" #hacker_name "_address", |
+ FOR_EACH_ISOLATE_ADDRESS_NAME(BUILD_NAME_LITERAL) |
NULL |
#undef C |
}; |
- for (uint16_t i = 0; i < Isolate::k_isolate_address_count; ++i) { |
+ for (uint16_t i = 0; i < Isolate::kIsolateAddressCount; ++i) { |
Add(isolate->get_address_from_id((Isolate::AddressId)i), |
TOP_ADDRESS, i, AddressNames[i]); |
} |