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

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

Issue 489923002: Tweaks to perf jitdump support (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/os_linux.cc » ('j') | runtime/vm/os_linux.cc » ('J')
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 11991 matching lines...) Expand 10 before | Expand all | Expand 10 after
12002 } 12002 }
12003 } 12003 }
12004 code.set_comments(assembler->GetCodeComments()); 12004 code.set_comments(assembler->GetCodeComments());
12005 return code.raw(); 12005 return code.raw();
12006 } 12006 }
12007 12007
12008 12008
12009 RawCode* Code::FinalizeCode(const Function& function, 12009 RawCode* Code::FinalizeCode(const Function& function,
12010 Assembler* assembler, 12010 Assembler* assembler,
12011 bool optimized) { 12011 bool optimized) {
12012 // Calling ToFullyQualifiedCString is very expensive, try to avoid it. 12012 // Calling ToQualifiedCString is very expensive, try to avoid it.
12013 if (CodeObservers::AreActive()) { 12013 if (CodeObservers::AreActive()) {
12014 return FinalizeCode(function.ToFullyQualifiedCString(), 12014 return FinalizeCode(function.ToQualifiedCString(),
12015 assembler, 12015 assembler,
12016 optimized); 12016 optimized);
12017 } else { 12017 } else {
12018 return FinalizeCode("", assembler); 12018 return FinalizeCode("", assembler);
12019 } 12019 }
12020 } 12020 }
12021 12021
12022 12022
12023 // Check if object matches find condition. 12023 // Check if object matches find condition.
12024 bool Code::FindRawCodeVisitor::FindObject(RawObject* obj) const { 12024 bool Code::FindRawCodeVisitor::FindObject(RawObject* obj) const {
(...skipping 7448 matching lines...) Expand 10 before | Expand all | Expand 10 after
19473 return tag_label.ToCString(); 19473 return tag_label.ToCString();
19474 } 19474 }
19475 19475
19476 19476
19477 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 19477 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
19478 Instance::PrintJSONImpl(stream, ref); 19478 Instance::PrintJSONImpl(stream, ref);
19479 } 19479 }
19480 19480
19481 19481
19482 } // namespace dart 19482 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/os_linux.cc » ('j') | runtime/vm/os_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698