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 10619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10630 result.CopyData(data); | 10630 result.CopyData(data); |
10631 } | 10631 } |
10632 return result.raw(); | 10632 return result.raw(); |
10633 } | 10633 } |
10634 | 10634 |
10635 | 10635 |
10636 const char* PcDescriptors::KindAsStr(RawPcDescriptors::Kind kind) { | 10636 const char* PcDescriptors::KindAsStr(RawPcDescriptors::Kind kind) { |
10637 switch (kind) { | 10637 switch (kind) { |
10638 case RawPcDescriptors::kDeopt: return "deopt "; | 10638 case RawPcDescriptors::kDeopt: return "deopt "; |
10639 case RawPcDescriptors::kIcCall: return "ic-call "; | 10639 case RawPcDescriptors::kIcCall: return "ic-call "; |
10640 case RawPcDescriptors::kOptStaticCall: return "opt-call "; | |
10641 case RawPcDescriptors::kUnoptStaticCall: return "unopt-call "; | 10640 case RawPcDescriptors::kUnoptStaticCall: return "unopt-call "; |
10642 case RawPcDescriptors::kClosureCall: return "closure-call "; | |
10643 case RawPcDescriptors::kRuntimeCall: return "runtime-call "; | 10641 case RawPcDescriptors::kRuntimeCall: return "runtime-call "; |
10644 case RawPcDescriptors::kOsrEntry: return "osr-entry "; | 10642 case RawPcDescriptors::kOsrEntry: return "osr-entry "; |
10645 case RawPcDescriptors::kOther: return "other "; | 10643 case RawPcDescriptors::kOther: return "other "; |
10646 case RawPcDescriptors::kAnyKind: UNREACHABLE(); break; | 10644 case RawPcDescriptors::kAnyKind: UNREACHABLE(); break; |
10647 } | 10645 } |
10648 UNREACHABLE(); | 10646 UNREACHABLE(); |
10649 return ""; | 10647 return ""; |
10650 } | 10648 } |
10651 | 10649 |
10652 | 10650 |
(...skipping 10147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
20800 return tag_label.ToCString(); | 20798 return tag_label.ToCString(); |
20801 } | 20799 } |
20802 | 20800 |
20803 | 20801 |
20804 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { | 20802 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { |
20805 Instance::PrintJSONImpl(stream, ref); | 20803 Instance::PrintJSONImpl(stream, ref); |
20806 } | 20804 } |
20807 | 20805 |
20808 | 20806 |
20809 } // namespace dart | 20807 } // namespace dart |
OLD | NEW |