| 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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 class DeoptInstr : public ZoneAllocated { | 210 class DeoptInstr : public ZoneAllocated { |
| 211 public: | 211 public: |
| 212 enum Kind { | 212 enum Kind { |
| 213 kRetAddress, | 213 kRetAddress, |
| 214 kConstant, | 214 kConstant, |
| 215 kWord, | 215 kWord, |
| 216 kDouble, | 216 kDouble, |
| 217 kFloat32x4, | 217 kFloat32x4, |
| 218 kFloat64x2, | 218 kFloat64x2, |
| 219 kInt32x4, | 219 kInt32x4, |
| 220 // Mints are split into low and high words. Each word can be in a register | 220 // Mints are split into low and high words on 32-bit architectures. Each |
| 221 // or stack slot. Note Mints are only used on 32-bit architectures. | 221 // word can be in a register or stack slot. Note Mint pairs are only |
| 222 // used on 32-bit architectures. |
| 222 kMintPair, | 223 kMintPair, |
| 224 // Mints are held in one word on 64-bit architectures. |
| 225 kMint, |
| 223 kInt32, | 226 kInt32, |
| 224 kUint32, | 227 kUint32, |
| 225 kPcMarker, | 228 kPcMarker, |
| 226 kPp, | 229 kPp, |
| 227 kCallerFp, | 230 kCallerFp, |
| 228 kCallerPp, | 231 kCallerPp, |
| 229 kCallerPc, | 232 kCallerPc, |
| 230 kSuffix, | 233 kSuffix, |
| 231 kMaterializedObjectRef, | 234 kMaterializedObjectRef, |
| 232 kMaterializeObject | 235 kMaterializeObject |
| (...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 DeoptInfo* info, | 502 DeoptInfo* info, |
| 500 Smi* reason); | 503 Smi* reason); |
| 501 | 504 |
| 502 private: | 505 private: |
| 503 static const intptr_t kEntrySize = 3; | 506 static const intptr_t kEntrySize = 3; |
| 504 }; | 507 }; |
| 505 | 508 |
| 506 } // namespace dart | 509 } // namespace dart |
| 507 | 510 |
| 508 #endif // VM_DEOPT_INSTRUCTIONS_H_ | 511 #endif // VM_DEOPT_INSTRUCTIONS_H_ |
| OLD | NEW |