Commit 6d91ffda authored by erik.corry@gmail.com's avatar erik.corry@gmail.com

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
parent 2d30963d
...@@ -117,7 +117,7 @@ Handle<Code> CodeStub::GetCode() { ...@@ -117,7 +117,7 @@ Handle<Code> CodeStub::GetCode() {
const char* CodeStub::MajorName(CodeStub::Major major_key) { const char* CodeStub::MajorName(CodeStub::Major major_key) {
switch (major_key) { switch (major_key) {
#define DEF_CASE(name) case name: return #name; #define DEF_CASE(name) case name: return #name;
CODE_STUB_LIST_ALL(DEF_CASE) CODE_STUB_LIST(DEF_CASE)
#undef DEF_CASE #undef DEF_CASE
default: default:
UNREACHABLE(); UNREACHABLE();
......
...@@ -33,7 +33,7 @@ namespace internal { ...@@ -33,7 +33,7 @@ namespace internal {
// List of code stubs used on all platforms. The order in this list is important // 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. // as only the stubs up to and including RecordWrite allows nested stub calls.
#define CODE_STUB_LIST_ALL(V) \ #define CODE_STUB_LIST_ALL_PLATFORMS(V) \
V(CallFunction) \ V(CallFunction) \
V(GenericBinaryOp) \ V(GenericBinaryOp) \
V(SmiOp) \ V(SmiOp) \
...@@ -65,7 +65,7 @@ namespace internal { ...@@ -65,7 +65,7 @@ namespace internal {
// Combined list of code stubs. // Combined list of code stubs.
#define CODE_STUB_LIST(V) \ #define CODE_STUB_LIST(V) \
CODE_STUB_LIST_ALL(V) \ CODE_STUB_LIST_ALL_PLATFORMS(V) \
CODE_STUB_LIST_ARM(V) CODE_STUB_LIST_ARM(V)
// Stub is base classes of all stubs. // Stub is base classes of all stubs.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment