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

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
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/service_isolate.cc » ('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 6586 matching lines...) Expand 10 before | Expand all | Expand 10 after
6597 raw_ptr()->instructions_).code()).is_optimized(); 6597 raw_ptr()->instructions_).code()).is_optimized();
6598 } 6598 }
6599 6599
6600 6600
6601 RawString* Function::PrettyName() const { 6601 RawString* Function::PrettyName() const {
6602 const String& str = String::Handle(name()); 6602 const String& str = String::Handle(name());
6603 return String::IdentifierPrettyName(str); 6603 return String::IdentifierPrettyName(str);
6604 } 6604 }
6605 6605
6606 6606
6607 const char* Function::QualifiedUserVisibleNameCString() const {
6608 const String& str = String::Handle(QualifiedUserVisibleName());
6609 return str.ToCString();
6610 }
6611
6612
6607 RawString* Function::UserVisibleName() const { 6613 RawString* Function::UserVisibleName() const {
6608 return PrettyName(); 6614 return PrettyName();
6609 } 6615 }
6610 6616
6611 6617
6612 RawString* Function::QualifiedPrettyName() const { 6618 RawString* Function::QualifiedPrettyName() const {
6613 String& tmp = String::Handle(); 6619 String& tmp = String::Handle();
6614 const Class& cls = Class::Handle(Owner()); 6620 const Class& cls = Class::Handle(Owner());
6615 6621
6616 if (IsClosureFunction()) { 6622 if (IsClosureFunction()) {
(...skipping 14351 matching lines...) Expand 10 before | Expand all | Expand 10 after
20968 return tag_label.ToCString(); 20974 return tag_label.ToCString();
20969 } 20975 }
20970 20976
20971 20977
20972 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 20978 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
20973 Instance::PrintJSONImpl(stream, ref); 20979 Instance::PrintJSONImpl(stream, ref);
20974 } 20980 }
20975 20981
20976 20982
20977 } // namespace dart 20983 } // namespace dart
OLDNEW
« no previous file with comments | « 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