From 6d91ffdafef175274bfeae2762fed0b4673ac69a Mon Sep 17 00:00:00 2001 From: "erik.corry@gmail.com" Date: Wed, 11 Nov 2009 14:32:14 +0000 Subject: [PATCH] Fix thinko in fix for issue 484. Review URL: http://codereview.chromium.org/391016 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@3284 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/code-stubs.cc | 2 +- src/code-stubs.h | 38 +++++++++++++++++++------------------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/code-stubs.cc b/src/code-stubs.cc index 7a2f859..dbc39ff 100644 --- a/src/code-stubs.cc +++ b/src/code-stubs.cc @@ -117,7 +117,7 @@ Handle CodeStub::GetCode() { const char* CodeStub::MajorName(CodeStub::Major major_key) { switch (major_key) { #define DEF_CASE(name) case name: return #name; - CODE_STUB_LIST_ALL(DEF_CASE) + CODE_STUB_LIST(DEF_CASE) #undef DEF_CASE default: UNREACHABLE(); diff --git a/src/code-stubs.h b/src/code-stubs.h index 63461bc..6c50c6d 100644 --- a/src/code-stubs.h +++ b/src/code-stubs.h @@ -33,23 +33,23 @@ namespace internal { // List of code stubs used on all platforms. The order in this list is important // as only the stubs up to and including RecordWrite allows nested stub calls. -#define CODE_STUB_LIST_ALL(V) \ - V(CallFunction) \ - V(GenericBinaryOp) \ - V(SmiOp) \ - V(Compare) \ - V(RecordWrite) \ - V(ConvertToDouble) \ - V(WriteInt32ToHeapNumber) \ - V(StackCheck) \ - V(UnarySub) \ - V(RevertToNumber) \ - V(ToBoolean) \ - V(Instanceof) \ - V(CounterOp) \ - V(ArgumentsAccess) \ - V(Runtime) \ - V(CEntry) \ +#define CODE_STUB_LIST_ALL_PLATFORMS(V) \ + V(CallFunction) \ + V(GenericBinaryOp) \ + V(SmiOp) \ + V(Compare) \ + V(RecordWrite) \ + V(ConvertToDouble) \ + V(WriteInt32ToHeapNumber) \ + V(StackCheck) \ + V(UnarySub) \ + V(RevertToNumber) \ + V(ToBoolean) \ + V(Instanceof) \ + V(CounterOp) \ + V(ArgumentsAccess) \ + V(Runtime) \ + V(CEntry) \ V(JSEntry) // List of code stubs only used on ARM platforms. @@ -64,8 +64,8 @@ namespace internal { #endif // Combined list of code stubs. -#define CODE_STUB_LIST(V) \ - CODE_STUB_LIST_ALL(V) \ +#define CODE_STUB_LIST(V) \ + CODE_STUB_LIST_ALL_PLATFORMS(V) \ CODE_STUB_LIST_ARM(V) // Stub is base classes of all stubs. -- 2.7.4