| Index: src/external-reference-table.cc
|
| diff --git a/src/external-reference-table.cc b/src/external-reference-table.cc
|
| index 2943368a2057d6e1265bbbd14ba4fab24d956e44..24727d2dc02df6b3fbc7bb03589b59a6ccae0ec0 100644
|
| --- a/src/external-reference-table.cc
|
| +++ b/src/external-reference-table.cc
|
| @@ -248,9 +248,9 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
|
| };
|
|
|
| static const RefTableEntry c_builtins[] = {
|
| -#define DEF_ENTRY_C(name, ignore) {Builtins::c_##name, "Builtins::" #name},
|
| - BUILTIN_LIST_C(DEF_ENTRY_C)
|
| -#undef DEF_ENTRY_C
|
| +#define DEF_ENTRY(name) {Builtins::c_##name, "Builtins::" #name},
|
| + BUILTIN_LIST_C(DEF_ENTRY)
|
| +#undef DEF_ENTRY
|
| };
|
|
|
| for (unsigned i = 0; i < arraysize(c_builtins); ++i) {
|
| @@ -260,12 +260,9 @@ ExternalReferenceTable::ExternalReferenceTable(Isolate* isolate) {
|
| }
|
|
|
| static const RefTableEntry builtins[] = {
|
| -#define DEF_ENTRY_C(name, ignore) {Builtins::k##name, "Builtins::" #name},
|
| -#define DEF_ENTRY_A(name, i1, i2) {Builtins::k##name, "Builtins::" #name},
|
| - BUILTIN_LIST_C(DEF_ENTRY_C) BUILTIN_LIST_A(DEF_ENTRY_A)
|
| - BUILTIN_LIST_DEBUG_A(DEF_ENTRY_A)
|
| -#undef DEF_ENTRY_C
|
| -#undef DEF_ENTRY_A
|
| +#define DEF_ENTRY(name, ...) {Builtins::k##name, "Builtins::" #name},
|
| + BUILTIN_LIST_C(DEF_ENTRY) BUILTIN_LIST_A(DEF_ENTRY)
|
| +#undef DEF_ENTRY
|
| };
|
|
|
| for (unsigned i = 0; i < arraysize(builtins); ++i) {
|
|
|