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

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

Issue 1153373003: Add new Float32x4 type for SIMD.js. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix int type mismatches. Created 5 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
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/cctest.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 // 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/heap/objects-visiting.h" 9 #include "src/heap/objects-visiting.h"
10 #include "src/jsregexp.h" 10 #include "src/jsregexp.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 Map::cast(this)->MapPrint(os); 53 Map::cast(this)->MapPrint(os);
54 break; 54 break;
55 case HEAP_NUMBER_TYPE: 55 case HEAP_NUMBER_TYPE:
56 HeapNumber::cast(this)->HeapNumberPrint(os); 56 HeapNumber::cast(this)->HeapNumberPrint(os);
57 break; 57 break;
58 case MUTABLE_HEAP_NUMBER_TYPE: 58 case MUTABLE_HEAP_NUMBER_TYPE:
59 os << "<mutable "; 59 os << "<mutable ";
60 HeapNumber::cast(this)->HeapNumberPrint(os); 60 HeapNumber::cast(this)->HeapNumberPrint(os);
61 os << ">"; 61 os << ">";
62 break; 62 break;
63 case FLOAT32X4_TYPE:
64 Float32x4::cast(this)->Float32x4Print(os);
65 break;
63 case FIXED_DOUBLE_ARRAY_TYPE: 66 case FIXED_DOUBLE_ARRAY_TYPE:
64 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(os); 67 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(os);
65 break; 68 break;
66 case CONSTANT_POOL_ARRAY_TYPE: 69 case CONSTANT_POOL_ARRAY_TYPE:
67 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(os); 70 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(os);
68 break; 71 break;
69 case FIXED_ARRAY_TYPE: 72 case FIXED_ARRAY_TYPE:
70 FixedArray::cast(this)->FixedArrayPrint(os); 73 FixedArray::cast(this)->FixedArrayPrint(os);
71 break; 74 break;
72 case BYTE_ARRAY_TYPE: 75 case BYTE_ARRAY_TYPE:
(...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 } 1211 }
1209 } 1212 }
1210 1213
1211 1214
1212 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1215 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1213 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1216 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1214 } 1217 }
1215 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1218 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1216 } // namespace internal 1219 } // namespace internal
1217 } // namespace v8 1220 } // namespace v8
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | test/cctest/cctest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698