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

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

Issue 334323003: Reland r22082 "Replace HeapNumber as doublebox with an explicit MutableHeapNumber." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Migrations test fixed Created 6 years, 5 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.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/disasm.h" 7 #include "src/disasm.h"
8 #include "src/disassembler.h" 8 #include "src/disassembler.h"
9 #include "src/jsregexp.h" 9 #include "src/jsregexp.h"
10 #include "src/objects-visiting.h" 10 #include "src/objects-visiting.h"
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 switch (instance_type) { 57 switch (instance_type) {
58 case SYMBOL_TYPE: 58 case SYMBOL_TYPE:
59 Symbol::cast(this)->SymbolPrint(out); 59 Symbol::cast(this)->SymbolPrint(out);
60 break; 60 break;
61 case MAP_TYPE: 61 case MAP_TYPE:
62 Map::cast(this)->MapPrint(out); 62 Map::cast(this)->MapPrint(out);
63 break; 63 break;
64 case HEAP_NUMBER_TYPE: 64 case HEAP_NUMBER_TYPE:
65 HeapNumber::cast(this)->HeapNumberPrint(out); 65 HeapNumber::cast(this)->HeapNumberPrint(out);
66 break; 66 break;
67 case MUTABLE_HEAP_NUMBER_TYPE:
68 PrintF(out, "<mutable ");
69 HeapNumber::cast(this)->HeapNumberPrint(out);
70 PrintF(out, ">");
71 break;
67 case FIXED_DOUBLE_ARRAY_TYPE: 72 case FIXED_DOUBLE_ARRAY_TYPE:
68 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); 73 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out);
69 break; 74 break;
70 case CONSTANT_POOL_ARRAY_TYPE: 75 case CONSTANT_POOL_ARRAY_TYPE:
71 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); 76 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out);
72 break; 77 break;
73 case FIXED_ARRAY_TYPE: 78 case FIXED_ARRAY_TYPE:
74 FixedArray::cast(this)->FixedArrayPrint(out); 79 FixedArray::cast(this)->FixedArrayPrint(out);
75 break; 80 break;
76 case BYTE_ARRAY_TYPE: 81 case BYTE_ARRAY_TYPE:
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1255 } 1260 }
1256 } 1261 }
1257 PrintF(out, "\n"); 1262 PrintF(out, "\n");
1258 } 1263 }
1259 1264
1260 1265
1261 #endif // OBJECT_PRINT 1266 #endif // OBJECT_PRINT
1262 1267
1263 1268
1264 } } // namespace v8::internal 1269 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/objects-visiting.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698