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

Side by Side Diff: runtime/vm/object.cc

Issue 79023010: Add demangle utility to Dartium's dart:html. Demangle typedef names in UserVisibleName. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase Created 7 years 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 | « runtime/lib/mirrors.cc ('k') | sdk/lib/html/dartium/html_dartium.dart » ('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 (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
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
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
OLDNEW
« no previous file with comments | « runtime/lib/mirrors.cc ('k') | sdk/lib/html/dartium/html_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698