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

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

Issue 1916143003: Quick step 1: dump stack in AbstractType::IsInstantiated (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Both Created 4 years, 7 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 | « no previous file | no next file » | 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 15498 matching lines...) Expand 10 before | Expand all | Expand 10 after
15509 TokenPosition AbstractType::token_pos() const { 15509 TokenPosition AbstractType::token_pos() const {
15510 // AbstractType is an abstract class. 15510 // AbstractType is an abstract class.
15511 UNREACHABLE(); 15511 UNREACHABLE();
15512 return TokenPosition::kNoSource; 15512 return TokenPosition::kNoSource;
15513 } 15513 }
15514 15514
15515 15515
15516 bool AbstractType::IsInstantiated(TrailPtr trail) const { 15516 bool AbstractType::IsInstantiated(TrailPtr trail) const {
15517 // AbstractType is an abstract class. 15517 // AbstractType is an abstract class.
15518 // TODO(srdjan) : Remove temporary code. 15518 // TODO(srdjan) : Remove temporary code.
15519 Profiler::DumpStackTrace(true);
15520 Profiler::DumpStackTrace(false);
Cutch 2016/04/25 23:16:11 DBC: Call it with false first and then with true.
srdjan 2016/04/25 23:29:16 Done.
15519 if (Compiler::IsBackgroundCompilation()) { 15521 if (Compiler::IsBackgroundCompilation()) {
15520 UNREACHABLE(); 15522 UNREACHABLE();
15521 } 15523 }
15522 UNREACHABLE(); 15524 UNREACHABLE();
15523 return false; 15525 return false;
15524 } 15526 }
15525 15527
15526 15528
15527 bool AbstractType::IsFinalized() const { 15529 bool AbstractType::IsFinalized() const {
15528 // AbstractType is an abstract class. 15530 // AbstractType is an abstract class.
(...skipping 6757 matching lines...) Expand 10 before | Expand all | Expand 10 after
22286 return UserTag::null(); 22288 return UserTag::null();
22287 } 22289 }
22288 22290
22289 22291
22290 const char* UserTag::ToCString() const { 22292 const char* UserTag::ToCString() const {
22291 const String& tag_label = String::Handle(label()); 22293 const String& tag_label = String::Handle(label());
22292 return tag_label.ToCString(); 22294 return tag_label.ToCString();
22293 } 22295 }
22294 22296
22295 } // namespace dart 22297 } // namespace dart
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698