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

Side by Side Diff: runtime/vm/code_descriptors.h

Issue 10982088: Remove deoptimization index PC descriptors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove code from an unrelated change. Created 8 years, 2 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 | « no previous file | runtime/vm/code_descriptors.cc » ('j') | runtime/vm/code_descriptors.cc » ('J')
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 #ifndef VM_CODE_DESCRIPTORS_H_ 5 #ifndef VM_CODE_DESCRIPTORS_H_
6 #define VM_CODE_DESCRIPTORS_H_ 6 #define VM_CODE_DESCRIPTORS_H_
7 7
8 #include "vm/code_generator.h" 8 #include "vm/code_generator.h"
9 #include "vm/globals.h" 9 #include "vm/globals.h"
10 #include "vm/growable_array.h" 10 #include "vm/growable_array.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 intptr_t TryIndex(int index) const { 54 intptr_t TryIndex(int index) const {
55 return list_[index].try_index; 55 return list_[index].try_index;
56 } 56 }
57 57
58 void AddDescriptor(PcDescriptors::Kind kind, 58 void AddDescriptor(PcDescriptors::Kind kind,
59 intptr_t pc_offset, 59 intptr_t pc_offset,
60 intptr_t deopt_id, 60 intptr_t deopt_id,
61 intptr_t token_index, 61 intptr_t token_index,
62 intptr_t try_index); 62 intptr_t try_index);
63 void AddDeoptIndex(intptr_t pc_offset,
64 intptr_t deopt_id,
65 DeoptReasonId deopt_reason,
66 intptr_t deopt_array_index);
67 63
68 RawPcDescriptors* FinalizePcDescriptors(uword entry_point); 64 RawPcDescriptors* FinalizePcDescriptors(uword entry_point);
69 65
70 private: 66 private:
71 GrowableArray<struct PcDesc> list_; 67 GrowableArray<struct PcDesc> list_;
72 DISALLOW_COPY_AND_ASSIGN(DescriptorList); 68 DISALLOW_COPY_AND_ASSIGN(DescriptorList);
73 }; 69 };
74 70
75 71
76 class StackmapTableBuilder : public ZoneAllocated { 72 class StackmapTableBuilder : public ZoneAllocated {
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 136 }
141 137
142 private: 138 private:
143 GrowableArray<struct HandlerDesc> list_; 139 GrowableArray<struct HandlerDesc> list_;
144 DISALLOW_COPY_AND_ASSIGN(ExceptionHandlerList); 140 DISALLOW_COPY_AND_ASSIGN(ExceptionHandlerList);
145 }; 141 };
146 142
147 } // namespace dart 143 } // namespace dart
148 144
149 #endif // VM_CODE_DESCRIPTORS_H_ 145 #endif // VM_CODE_DESCRIPTORS_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/code_descriptors.cc » ('j') | runtime/vm/code_descriptors.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698