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

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: A few more tests. 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
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 FIXED_ARRAY_TYPE: 69 case FIXED_ARRAY_TYPE:
67 FixedArray::cast(this)->FixedArrayPrint(os); 70 FixedArray::cast(this)->FixedArrayPrint(os);
68 break; 71 break;
69 case BYTE_ARRAY_TYPE: 72 case BYTE_ARRAY_TYPE:
70 ByteArray::cast(this)->ByteArrayPrint(os); 73 ByteArray::cast(this)->ByteArrayPrint(os);
71 break; 74 break;
72 case FREE_SPACE_TYPE: 75 case FREE_SPACE_TYPE:
(...skipping 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1168 } 1171 }
1169 } 1172 }
1170 1173
1171 1174
1172 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT 1175 void JSObject::PrintTransitions(std::ostream& os) { // NOLINT
1173 TransitionArray::PrintTransitions(os, map()->raw_transitions()); 1176 TransitionArray::PrintTransitions(os, map()->raw_transitions());
1174 } 1177 }
1175 #endif // defined(DEBUG) || defined(OBJECT_PRINT) 1178 #endif // defined(DEBUG) || defined(OBJECT_PRINT)
1176 } // namespace internal 1179 } // namespace internal
1177 } // namespace v8 1180 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698