OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 #include "vm/object.h" | 5 #include "vm/object.h" |
6 | 6 |
7 #include "include/dart_api.h" | 7 #include "include/dart_api.h" |
8 #include "platform/assert.h" | 8 #include "platform/assert.h" |
9 #include "vm/assembler.h" | 9 #include "vm/assembler.h" |
10 #include "vm/cpu.h" | 10 #include "vm/cpu.h" |
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1571 case kTypedDataFloat32x4ArrayCid: | 1571 case kTypedDataFloat32x4ArrayCid: |
1572 case kExternalTypedDataFloat32x4ArrayCid: | 1572 case kExternalTypedDataFloat32x4ArrayCid: |
1573 return Symbols::Float32x4List().raw(); | 1573 return Symbols::Float32x4List().raw(); |
1574 case kTypedDataFloat32ArrayCid: | 1574 case kTypedDataFloat32ArrayCid: |
1575 case kExternalTypedDataFloat32ArrayCid: | 1575 case kExternalTypedDataFloat32ArrayCid: |
1576 return Symbols::Float32List().raw(); | 1576 return Symbols::Float32List().raw(); |
1577 case kTypedDataFloat64ArrayCid: | 1577 case kTypedDataFloat64ArrayCid: |
1578 case kExternalTypedDataFloat64ArrayCid: | 1578 case kExternalTypedDataFloat64ArrayCid: |
1579 return Symbols::Float64List().raw(); | 1579 return Symbols::Float64List().raw(); |
1580 default: | 1580 default: |
1581 if (!IsSignatureClass()) { | 1581 if (!IsCanonicalSignatureClass()) { |
1582 const String& name = String::Handle(Name()); | 1582 const String& name = String::Handle(Name()); |
1583 return String::IdentifierPrettyName(name); | 1583 return String::IdentifierPrettyName(name); |
1584 } else { | 1584 } else { |
1585 return Name(); | 1585 return Name(); |
1586 } | 1586 } |
1587 } | 1587 } |
1588 UNREACHABLE(); | 1588 UNREACHABLE(); |
1589 } | 1589 } |
1590 | 1590 |
1591 | 1591 |
(...skipping 14397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
15989 return "_MirrorReference"; | 15989 return "_MirrorReference"; |
15990 } | 15990 } |
15991 | 15991 |
15992 | 15992 |
15993 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { | 15993 void MirrorReference::PrintToJSONStream(JSONStream* stream, bool ref) const { |
15994 Instance::PrintToJSONStream(stream, ref); | 15994 Instance::PrintToJSONStream(stream, ref); |
15995 } | 15995 } |
15996 | 15996 |
15997 | 15997 |
15998 } // namespace dart | 15998 } // namespace dart |
OLD | NEW |