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

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

Issue 240283005: Adds simulator debugger and Stop to arm64. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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/disassembler_arm64.cc ('k') | runtime/vm/simulator_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // Declares a Simulator for ARM64 instructions if we are not generating a native 5 // Declares a Simulator for ARM64 instructions if we are not generating a native
6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation 6 // ARM64 binary. This Simulator allows us to run and debug ARM64 code generation
7 // on regular desktop machines. 7 // on regular desktop machines.
8 // Dart calls into generated code by "calling" the InvokeDartCode stub, 8 // Dart calls into generated code by "calling" the InvokeDartCode stub,
9 // which will start execution in the Simulator or forwards to the real entry 9 // which will start execution in the Simulator or forwards to the real entry
10 // on a ARM64 HW platform. 10 // on a ARM64 HW platform.
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 // Decode instructions. 165 // Decode instructions.
166 void InstructionDecode(Instr* instr); 166 void InstructionDecode(Instr* instr);
167 #define DECODE_OP(op) \ 167 #define DECODE_OP(op) \
168 void Decode##op(Instr* instr); 168 void Decode##op(Instr* instr);
169 APPLY_OP_LIST(DECODE_OP) 169 APPLY_OP_LIST(DECODE_OP)
170 #undef DECODE_OP 170 #undef DECODE_OP
171 171
172 // Executes ARM64 instructions until the PC reaches kEndSimulatingPC. 172 // Executes ARM64 instructions until the PC reaches kEndSimulatingPC.
173 void Execute(); 173 void Execute();
174 174
175 friend class SimulatorDebugger;
175 DISALLOW_COPY_AND_ASSIGN(Simulator); 176 DISALLOW_COPY_AND_ASSIGN(Simulator);
176 }; 177 };
177 178
178 } // namespace dart 179 } // namespace dart
179 180
180 #endif // VM_SIMULATOR_ARM64_H_ 181 #endif // VM_SIMULATOR_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/disassembler_arm64.cc ('k') | runtime/vm/simulator_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698