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

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

Issue 1170503004: Initial Timeline Events (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: 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 (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 6562 matching lines...) Expand 10 before | Expand all | Expand 10 after
6573 raw_ptr()->instructions_).code()).is_optimized(); 6573 raw_ptr()->instructions_).code()).is_optimized();
6574 } 6574 }
6575 6575
6576 6576
6577 RawString* Function::PrettyName() const { 6577 RawString* Function::PrettyName() const {
6578 const String& str = String::Handle(name()); 6578 const String& str = String::Handle(name());
6579 return String::IdentifierPrettyName(str); 6579 return String::IdentifierPrettyName(str);
6580 } 6580 }
6581 6581
6582 6582
6583 const char* Function::QualifiedUserVisibleNameCString() const {
6584 const String& str = String::Handle(QualifiedUserVisibleName());
6585 return str.ToCString();
6586 }
6587
6588
6583 RawString* Function::UserVisibleName() const { 6589 RawString* Function::UserVisibleName() const {
6584 return PrettyName(); 6590 return PrettyName();
6585 } 6591 }
6586 6592
6587 6593
6588 RawString* Function::QualifiedPrettyName() const { 6594 RawString* Function::QualifiedPrettyName() const {
6589 String& tmp = String::Handle(); 6595 String& tmp = String::Handle();
6590 const Class& cls = Class::Handle(Owner()); 6596 const Class& cls = Class::Handle(Owner());
6591 6597
6592 if (IsClosureFunction()) { 6598 if (IsClosureFunction()) {
(...skipping 14258 matching lines...) Expand 10 before | Expand all | Expand 10 after
20851 return tag_label.ToCString(); 20857 return tag_label.ToCString();
20852 } 20858 }
20853 20859
20854 20860
20855 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 20861 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
20856 Instance::PrintJSONImpl(stream, ref); 20862 Instance::PrintJSONImpl(stream, ref);
20857 } 20863 }
20858 20864
20859 20865
20860 } // namespace dart 20866 } // namespace dart
OLDNEW
« runtime/vm/isolate.cc ('K') | « runtime/vm/object.h ('k') | runtime/vm/service_isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698