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

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

Issue 9484002: StepOver, StepInto, StepOut (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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') | runtime/vm/opt_code_generator_ia32.cc » ('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 "platform/assert.h" 7 #include "platform/assert.h"
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/bigint_operations.h" 9 #include "vm/bigint_operations.h"
10 #include "vm/bootstrap.h" 10 #include "vm/bootstrap.h"
(...skipping 5012 matching lines...) Expand 10 before | Expand all | Expand 10 after
5023 } 5023 }
5024 return result.raw(); 5024 return result.raw();
5025 } 5025 }
5026 5026
5027 5027
5028 const char* PcDescriptors::KindAsStr(intptr_t index) const { 5028 const char* PcDescriptors::KindAsStr(intptr_t index) const {
5029 switch (DescriptorKind(index)) { 5029 switch (DescriptorKind(index)) {
5030 case PcDescriptors::kDeopt: return "deopt"; 5030 case PcDescriptors::kDeopt: return "deopt";
5031 case PcDescriptors::kPatchCode: return "patch"; 5031 case PcDescriptors::kPatchCode: return "patch";
5032 case PcDescriptors::kIcCall: return "ic-call"; 5032 case PcDescriptors::kIcCall: return "ic-call";
5033 case PcDescriptors::kFuncCall: return "func-call";
5033 case PcDescriptors::kReturn: return "return"; 5034 case PcDescriptors::kReturn: return "return";
5034 case PcDescriptors::kOther: return "other"; 5035 case PcDescriptors::kOther: return "other";
5035 } 5036 }
5036 UNREACHABLE(); 5037 UNREACHABLE();
5037 return ""; 5038 return "";
5038 } 5039 }
5039 5040
5040 5041
5041 const char* PcDescriptors::ToCString() const { 5042 const char* PcDescriptors::ToCString() const {
5042 if (Length() == 0) { 5043 if (Length() == 0) {
(...skipping 3259 matching lines...) Expand 10 before | Expand all | Expand 10 after
8302 result.set_num_args_tested(num_args_tested); 8303 result.set_num_args_tested(num_args_tested);
8303 // Number of array elements in one test entry (num_args_tested + 1) 8304 // Number of array elements in one test entry (num_args_tested + 1)
8304 intptr_t len = num_args_tested + 1; 8305 intptr_t len = num_args_tested + 1;
8305 // IC data array must be null terminated (sentinel entry). 8306 // IC data array must be null terminated (sentinel entry).
8306 Array& ic_data = Array::Handle(Array::New(len, Heap::kOld)); 8307 Array& ic_data = Array::Handle(Array::New(len, Heap::kOld));
8307 result.set_ic_data(ic_data); 8308 result.set_ic_data(ic_data);
8308 return result.raw(); 8309 return result.raw();
8309 } 8310 }
8310 8311
8311 } // namespace dart 8312 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | runtime/vm/opt_code_generator_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698