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

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

Issue 345103002: Remove unused pc-descriptor kind kReturn. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.h ('k') | 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 10236 matching lines...) Expand 10 before | Expand all | Expand 10 after
10247 } 10247 }
10248 10248
10249 10249
10250 const char* PcDescriptors::KindAsStr(intptr_t index) const { 10250 const char* PcDescriptors::KindAsStr(intptr_t index) const {
10251 switch (DescriptorKind(index)) { 10251 switch (DescriptorKind(index)) {
10252 case PcDescriptors::kDeopt: return "deopt "; 10252 case PcDescriptors::kDeopt: return "deopt ";
10253 case PcDescriptors::kIcCall: return "ic-call "; 10253 case PcDescriptors::kIcCall: return "ic-call ";
10254 case PcDescriptors::kOptStaticCall: return "opt-call "; 10254 case PcDescriptors::kOptStaticCall: return "opt-call ";
10255 case PcDescriptors::kUnoptStaticCall: return "unopt-call "; 10255 case PcDescriptors::kUnoptStaticCall: return "unopt-call ";
10256 case PcDescriptors::kClosureCall: return "closure-call "; 10256 case PcDescriptors::kClosureCall: return "closure-call ";
10257 case PcDescriptors::kReturn: return "return ";
10258 case PcDescriptors::kRuntimeCall: return "runtime-call "; 10257 case PcDescriptors::kRuntimeCall: return "runtime-call ";
10259 case PcDescriptors::kOsrEntry: return "osr-entry "; 10258 case PcDescriptors::kOsrEntry: return "osr-entry ";
10260 case PcDescriptors::kOther: return "other "; 10259 case PcDescriptors::kOther: return "other ";
10261 } 10260 }
10262 UNREACHABLE(); 10261 UNREACHABLE();
10263 return ""; 10262 return "";
10264 } 10263 }
10265 10264
10266 10265
10267 void PcDescriptors::PrintHeaderString() { 10266 void PcDescriptors::PrintHeaderString() {
(...skipping 8763 matching lines...) Expand 10 before | Expand all | Expand 10 after
19031 return tag_label.ToCString(); 19030 return tag_label.ToCString();
19032 } 19031 }
19033 19032
19034 19033
19035 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const { 19034 void UserTag::PrintJSONImpl(JSONStream* stream, bool ref) const {
19036 Instance::PrintJSONImpl(stream, ref); 19035 Instance::PrintJSONImpl(stream, ref);
19037 } 19036 }
19038 19037
19039 19038
19040 } // namespace dart 19039 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698