| OLD | NEW |
| 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 15497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 15508 | 15508 |
| 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 #if !defined(PRODUCT) |
| 15518 // TODO(srdjan) : Remove temporary code. | 15519 // TODO(srdjan) : Remove temporary code. |
| 15519 Profiler::DumpStackTrace(true); // Only native stack trace. | 15520 Profiler::DumpStackTrace(true); // Only native stack trace. |
| 15520 if (Compiler::IsBackgroundCompilation()) { | 15521 if (Compiler::IsBackgroundCompilation()) { |
| 15521 UNREACHABLE(); | 15522 UNREACHABLE(); |
| 15522 } | 15523 } |
| 15524 #endif |
| 15523 UNREACHABLE(); | 15525 UNREACHABLE(); |
| 15524 return false; | 15526 return false; |
| 15525 } | 15527 } |
| 15526 | 15528 |
| 15527 | 15529 |
| 15528 bool AbstractType::IsFinalized() const { | 15530 bool AbstractType::IsFinalized() const { |
| 15529 // AbstractType is an abstract class. | 15531 // AbstractType is an abstract class. |
| 15530 UNREACHABLE(); | 15532 UNREACHABLE(); |
| 15531 return false; | 15533 return false; |
| 15532 } | 15534 } |
| (...skipping 6754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 22287 return UserTag::null(); | 22289 return UserTag::null(); |
| 22288 } | 22290 } |
| 22289 | 22291 |
| 22290 | 22292 |
| 22291 const char* UserTag::ToCString() const { | 22293 const char* UserTag::ToCString() const { |
| 22292 const String& tag_label = String::Handle(label()); | 22294 const String& tag_label = String::Handle(label()); |
| 22293 return tag_label.ToCString(); | 22295 return tag_label.ToCString(); |
| 22294 } | 22296 } |
| 22295 | 22297 |
| 22296 } // namespace dart | 22298 } // namespace dart |
| OLD | NEW |