| OLD | NEW |
| 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 class DeoptInstr : public ZoneAllocated { | 214 class DeoptInstr : public ZoneAllocated { |
| 215 public: | 215 public: |
| 216 enum Kind { | 216 enum Kind { |
| 217 kRetAddress, | 217 kRetAddress, |
| 218 kConstant, | 218 kConstant, |
| 219 kWord, | 219 kWord, |
| 220 kDouble, | 220 kDouble, |
| 221 kFloat32x4, | 221 kFloat32x4, |
| 222 kFloat64x2, | 222 kFloat64x2, |
| 223 kInt32x4, | 223 kInt32x4, |
| 224 // Mints are split into low and high words. Each word can be in a register | 224 // Mints are split into low and high words on 32-bit architectures. Each |
| 225 // or stack slot. Note Mints are only used on 32-bit architectures. | 225 // word can be in a register or stack slot. Note Mint pairs are only |
| 226 // used on 32-bit architectures. |
| 226 kMintPair, | 227 kMintPair, |
| 228 // Mints are held in one word on 64-bit architectures. |
| 229 kMint, |
| 227 kInt32, | 230 kInt32, |
| 228 kUint32, | 231 kUint32, |
| 229 kPcMarker, | 232 kPcMarker, |
| 230 kPp, | 233 kPp, |
| 231 kCallerFp, | 234 kCallerFp, |
| 232 kCallerPp, | 235 kCallerPp, |
| 233 kCallerPc, | 236 kCallerPc, |
| 234 kSuffix, | 237 kSuffix, |
| 235 kMaterializedObjectRef, | 238 kMaterializedObjectRef, |
| 236 kMaterializeObject | 239 kMaterializeObject |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 512 class ReasonField : public BitField<ICData::DeoptReasonId, 0, 8> { }; | 515 class ReasonField : public BitField<ICData::DeoptReasonId, 0, 8> { }; |
| 513 class FlagsField : public BitField<uint32_t, 8, 8> { }; | 516 class FlagsField : public BitField<uint32_t, 8, 8> { }; |
| 514 | 517 |
| 515 private: | 518 private: |
| 516 static const intptr_t kEntrySize = 3; | 519 static const intptr_t kEntrySize = 3; |
| 517 }; | 520 }; |
| 518 | 521 |
| 519 } // namespace dart | 522 } // namespace dart |
| 520 | 523 |
| 521 #endif // VM_DEOPT_INSTRUCTIONS_H_ | 524 #endif // VM_DEOPT_INSTRUCTIONS_H_ |
| OLD | NEW |