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

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

Issue 2572563004: Improve the casing of Stackmap and Stacktrace. (Closed)
Patch Set: Build fixes Created 4 years 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/raw_object_snapshot.cc ('k') | runtime/vm/simulator_dbc.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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 RUNTIME_VM_SIMULATOR_DBC_H_ 5 #ifndef RUNTIME_VM_SIMULATOR_DBC_H_
6 #define RUNTIME_VM_SIMULATOR_DBC_H_ 6 #define RUNTIME_VM_SIMULATOR_DBC_H_
7 7
8 #ifndef RUNTIME_VM_SIMULATOR_H_ 8 #ifndef RUNTIME_VM_SIMULATOR_H_
9 #error Do not include simulator_dbc.h directly; use simulator.h. 9 #error Do not include simulator_dbc.h directly; use simulator.h.
10 #endif 10 #endif
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 #undef V 77 #undef V
78 kIntrinsicCount, 78 kIntrinsicCount,
79 }; 79 };
80 80
81 static bool IsSupportedIntrinsic(IntrinsicId id) { 81 static bool IsSupportedIntrinsic(IntrinsicId id) {
82 return intrinsics_[id] != NULL; 82 return intrinsics_[id] != NULL;
83 } 83 }
84 84
85 enum SpecialIndex { 85 enum SpecialIndex {
86 kExceptionSpecialIndex, 86 kExceptionSpecialIndex,
87 kStacktraceSpecialIndex, 87 kStackTraceSpecialIndex,
88 kSpecialIndexCount 88 kSpecialIndexCount
89 }; 89 };
90 90
91 private: 91 private:
92 uintptr_t* stack_; 92 uintptr_t* stack_;
93 93
94 RawObject** fp_; 94 RawObject** fp_;
95 RawObject** sp_; 95 RawObject** sp_;
96 uword pc_; 96 uword pc_;
97 97
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 last_setjmp_buffer_ = buffer; 161 last_setjmp_buffer_ = buffer;
162 } 162 }
163 163
164 friend class SimulatorSetjmpBuffer; 164 friend class SimulatorSetjmpBuffer;
165 DISALLOW_COPY_AND_ASSIGN(Simulator); 165 DISALLOW_COPY_AND_ASSIGN(Simulator);
166 }; 166 };
167 167
168 } // namespace dart 168 } // namespace dart
169 169
170 #endif // RUNTIME_VM_SIMULATOR_DBC_H_ 170 #endif // RUNTIME_VM_SIMULATOR_DBC_H_
OLDNEW
« no previous file with comments | « runtime/vm/raw_object_snapshot.cc ('k') | runtime/vm/simulator_dbc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698