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

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

Issue 15743019: Consolidate debug stubs (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
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 7091 matching lines...) Expand 10 before | Expand all | Expand 10 after
7102 const char* PcDescriptors::KindAsStr(intptr_t index) const { 7102 const char* PcDescriptors::KindAsStr(intptr_t index) const {
7103 switch (DescriptorKind(index)) { 7103 switch (DescriptorKind(index)) {
7104 case PcDescriptors::kDeopt: return "deopt "; 7104 case PcDescriptors::kDeopt: return "deopt ";
7105 case PcDescriptors::kEntryPatch: return "entry-patch "; 7105 case PcDescriptors::kEntryPatch: return "entry-patch ";
7106 case PcDescriptors::kPatchCode: return "patch "; 7106 case PcDescriptors::kPatchCode: return "patch ";
7107 case PcDescriptors::kLazyDeoptJump: return "lazy-deopt "; 7107 case PcDescriptors::kLazyDeoptJump: return "lazy-deopt ";
7108 case PcDescriptors::kIcCall: return "ic-call "; 7108 case PcDescriptors::kIcCall: return "ic-call ";
7109 case PcDescriptors::kFuncCall: return "fn-call "; 7109 case PcDescriptors::kFuncCall: return "fn-call ";
7110 case PcDescriptors::kClosureCall: return "closure-call "; 7110 case PcDescriptors::kClosureCall: return "closure-call ";
7111 case PcDescriptors::kReturn: return "return "; 7111 case PcDescriptors::kReturn: return "return ";
7112 case PcDescriptors::kEqualNull: return "equal-null "; 7112 case PcDescriptors::kRuntimeCall: return "runtime-call ";
7113 case PcDescriptors::kOther: return "other "; 7113 case PcDescriptors::kOther: return "other ";
7114 } 7114 }
7115 UNREACHABLE(); 7115 UNREACHABLE();
7116 return ""; 7116 return "";
7117 } 7117 }
7118 7118
7119 7119
7120 void PcDescriptors::PrintHeaderString() { 7120 void PcDescriptors::PrintHeaderString() {
7121 // 4 bits per hex digit + 2 for "0x". 7121 // 4 bits per hex digit + 2 for "0x".
7122 const int addr_width = (kBitsPerWord / 4) + 2; 7122 const int addr_width = (kBitsPerWord / 4) + 2;
(...skipping 6144 matching lines...) Expand 10 before | Expand all | Expand 10 after
13267 } 13267 }
13268 return result.raw(); 13268 return result.raw();
13269 } 13269 }
13270 13270
13271 13271
13272 const char* WeakProperty::ToCString() const { 13272 const char* WeakProperty::ToCString() const {
13273 return "_WeakProperty"; 13273 return "_WeakProperty";
13274 } 13274 }
13275 13275
13276 } // namespace dart 13276 } // namespace dart
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698