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

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

Issue 252333002: Use GPRs for mints (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_DEOPT_INSTRUCTIONS_H_ 5 #ifndef VM_DEOPT_INSTRUCTIONS_H_
6 #define VM_DEOPT_INSTRUCTIONS_H_ 6 #define VM_DEOPT_INSTRUCTIONS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/code_generator.h" 10 #include "vm/code_generator.h"
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 // Represents one deopt instruction, e.g, setup return address, store object, 209 // Represents one deopt instruction, e.g, setup return address, store object,
210 // store register, etc. The target is defined by instruction's position in 210 // store register, etc. The target is defined by instruction's position in
211 // the deopt-info array. 211 // the deopt-info array.
212 class DeoptInstr : public ZoneAllocated { 212 class DeoptInstr : public ZoneAllocated {
213 public: 213 public:
214 enum Kind { 214 enum Kind {
215 kRetAddress, 215 kRetAddress,
216 kConstant, 216 kConstant,
217 kRegister, 217 kRegister,
218 kFpuRegister, 218 kFpuRegister,
219 kInt64FpuRegister, 219 kInt64RegisterPair,
220 kFloat32x4FpuRegister, 220 kFloat32x4FpuRegister,
221 kFloat64x2FpuRegister, 221 kFloat64x2FpuRegister,
222 kInt32x4FpuRegister, 222 kInt32x4FpuRegister,
223 kStackSlot, 223 kStackSlot,
224 kDoubleStackSlot, 224 kDoubleStackSlot,
225 kInt64StackSlot, 225 kInt64StackSlot,
226 kInt64StackSlotPair,
226 kFloat32x4StackSlot, 227 kFloat32x4StackSlot,
227 kFloat64x2StackSlot, 228 kFloat64x2StackSlot,
228 kInt32x4StackSlot, 229 kInt32x4StackSlot,
230 kInt64StackSlotRegister,
229 kPcMarker, 231 kPcMarker,
230 kPp, 232 kPp,
231 kCallerFp, 233 kCallerFp,
232 kCallerPp, 234 kCallerPp,
233 kCallerPc, 235 kCallerPc,
234 kSuffix, 236 kSuffix,
235 kMaterializedObjectRef, 237 kMaterializedObjectRef,
236 kMaterializeObject 238 kMaterializeObject
237 }; 239 };
238 240
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 DeoptInfo* info, 384 DeoptInfo* info,
383 Smi* reason); 385 Smi* reason);
384 386
385 private: 387 private:
386 static const intptr_t kEntrySize = 3; 388 static const intptr_t kEntrySize = 3;
387 }; 389 };
388 390
389 } // namespace dart 391 } // namespace dart
390 392
391 #endif // VM_DEOPT_INSTRUCTIONS_H_ 393 #endif // VM_DEOPT_INSTRUCTIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698