Index: src/external-reference-table.cc |
diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc |
index 2e9fc465901c443e84d2411c344daa320441928d..9a5b925eea553959ffcea2ac1e52ae76f5bf36ba 100644 |
--- a/src/external-reference-table.cc |
+++ b/src/external-reference-table.cc |
@@ -363,9 +363,8 @@ void ExternalReferenceTable::AddAccessors(Isolate* isolate) { |
}; |
static const AccessorRefTable getters[] = { |
-#define ACCESSOR_INFO_DECLARATION(name) \ |
- { FUNCTION_ADDR(&Accessors::name##Getter), \ |
- "Redirect to Accessors::" #name "Getter"}, |
+#define ACCESSOR_INFO_DECLARATION(name) \ |
+ {FUNCTION_ADDR(&Accessors::name##Getter), "Accessors::" #name "Getter"}, |
ACCESSOR_INFO_LIST(ACCESSOR_INFO_DECLARATION) |
#undef ACCESSOR_INFO_DECLARATION |
}; |
@@ -377,10 +376,7 @@ void ExternalReferenceTable::AddAccessors(Isolate* isolate) { |
}; |
for (unsigned i = 0; i < arraysize(getters); ++i) { |
- const char* name = getters[i].name + 12; // Skip "Redirect to " prefix. |
- Add(getters[i].address, name); |
- Add(AccessorInfo::redirect(isolate, getters[i].address, ACCESSOR_GETTER), |
- getters[i].name); |
+ Add(getters[i].address, getters[i].name); |
} |
for (unsigned i = 0; i < arraysize(setters); ++i) { |