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

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

Issue 1160063002: Remove unused pc descriptor types. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: added comment 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/intermediate_language_x64.cc ('k') | runtime/vm/raw_object.h » ('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 10619 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/raw_object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698