Fix thinko in fix for issue 484.
authorerik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Nov 2009 14:32:14 +0000 (14:32 +0000)
committererik.corry@gmail.com <erik.corry@gmail.com@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Wed, 11 Nov 2009 14:32:14 +0000 (14:32 +0000)
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
src/code-stubs.h

index 7a2f859..dbc39ff 100644 (file)
@@ -117,7 +117,7 @@ Handle<Code> 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();
index 63461bc..6c50c6d 100644 (file)
@@ -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.