Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/objects-printer.cc

Issue 17064002: Refactor only: Rename JSGlobaPropertyCell to PropertyCell (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 case SHARED_FUNCTION_INFO_TYPE: 179 case SHARED_FUNCTION_INFO_TYPE:
180 SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(out); 180 SharedFunctionInfo::cast(this)->SharedFunctionInfoPrint(out);
181 break; 181 break;
182 case JS_MESSAGE_OBJECT_TYPE: 182 case JS_MESSAGE_OBJECT_TYPE:
183 JSMessageObject::cast(this)->JSMessageObjectPrint(out); 183 JSMessageObject::cast(this)->JSMessageObjectPrint(out);
184 break; 184 break;
185 case CELL_TYPE: 185 case CELL_TYPE:
186 Cell::cast(this)->CellPrint(out); 186 Cell::cast(this)->CellPrint(out);
187 break; 187 break;
188 case PROPERTY_CELL_TYPE: 188 case PROPERTY_CELL_TYPE:
189 JSGlobalPropertyCell::cast(this)->JSGlobalPropertyCellPrint(out); 189 PropertyCell::cast(this)->PropertyCellPrint(out);
190 break; 190 break;
191 case JS_ARRAY_BUFFER_TYPE: 191 case JS_ARRAY_BUFFER_TYPE:
192 JSArrayBuffer::cast(this)->JSArrayBufferPrint(out); 192 JSArrayBuffer::cast(this)->JSArrayBufferPrint(out);
193 break; 193 break;
194 case JS_TYPED_ARRAY_TYPE: 194 case JS_TYPED_ARRAY_TYPE:
195 JSTypedArray::cast(this)->JSTypedArrayPrint(out); 195 JSTypedArray::cast(this)->JSTypedArrayPrint(out);
196 break; 196 break;
197 #define MAKE_STRUCT_CASE(NAME, Name, name) \ 197 #define MAKE_STRUCT_CASE(NAME, Name, name) \
198 case NAME##_TYPE: \ 198 case NAME##_TYPE: \
199 Name::cast(this)->Name##Print(out); \ 199 Name::cast(this)->Name##Print(out); \
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 PrintF(out, "builtins "); 919 PrintF(out, "builtins ");
920 JSObjectPrint(out); 920 JSObjectPrint(out);
921 } 921 }
922 922
923 923
924 void Cell::CellPrint(FILE* out) { 924 void Cell::CellPrint(FILE* out) {
925 HeapObject::PrintHeader(out, "Cell"); 925 HeapObject::PrintHeader(out, "Cell");
926 } 926 }
927 927
928 928
929 void JSGlobalPropertyCell::JSGlobalPropertyCellPrint(FILE* out) { 929 void PropertyCell::PropertyCellPrint(FILE* out) {
930 HeapObject::PrintHeader(out, "JSGlobalPropertyCell"); 930 HeapObject::PrintHeader(out, "PropertyCell");
931 } 931 }
932 932
933 933
934 void Code::CodePrint(FILE* out) { 934 void Code::CodePrint(FILE* out) {
935 HeapObject::PrintHeader(out, "Code"); 935 HeapObject::PrintHeader(out, "Code");
936 #ifdef ENABLE_DISASSEMBLER 936 #ifdef ENABLE_DISASSEMBLER
937 if (FLAG_use_verbose_printer) { 937 if (FLAG_use_verbose_printer) {
938 Disassemble(NULL, out); 938 Disassemble(NULL, out);
939 } 939 }
940 #endif 940 #endif
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
1223 } 1223 }
1224 } 1224 }
1225 PrintF(out, "\n"); 1225 PrintF(out, "\n");
1226 } 1226 }
1227 1227
1228 1228
1229 #endif // OBJECT_PRINT 1229 #endif // OBJECT_PRINT
1230 1230
1231 1231
1232 } } // namespace v8::internal 1232 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698