OLD | NEW |
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 VM_CONSTANTS_DBC_H_ | 5 #ifndef VM_CONSTANTS_DBC_H_ |
6 #define VM_CONSTANTS_DBC_H_ | 6 #define VM_CONSTANTS_DBC_H_ |
7 | 7 |
8 #include "platform/globals.h" | 8 #include "platform/globals.h" |
9 #include "platform/assert.h" | 9 #include "platform/assert.h" |
10 #include "platform/utils.h" | 10 #include "platform/utils.h" |
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 V(Move, A_X, reg, xeg, ___) \ | 397 V(Move, A_X, reg, xeg, ___) \ |
398 V(Swap, A_X, reg, xeg, ___) \ | 398 V(Swap, A_X, reg, xeg, ___) \ |
399 V(Push, X, xeg, ___, ___) \ | 399 V(Push, X, xeg, ___, ___) \ |
400 V(LoadConstant, A_D, reg, lit, ___) \ | 400 V(LoadConstant, A_D, reg, lit, ___) \ |
401 V(LoadClassId, A_D, reg, reg, ___) \ | 401 V(LoadClassId, A_D, reg, reg, ___) \ |
402 V(LoadClassIdTOS, 0, ___, ___, ___) \ | 402 V(LoadClassIdTOS, 0, ___, ___, ___) \ |
403 V(PushConstant, D, lit, ___, ___) \ | 403 V(PushConstant, D, lit, ___, ___) \ |
404 V(StoreLocal, X, xeg, ___, ___) \ | 404 V(StoreLocal, X, xeg, ___, ___) \ |
405 V(PopLocal, X, xeg, ___, ___) \ | 405 V(PopLocal, X, xeg, ___, ___) \ |
406 V(StaticCall, A_D, num, num, ___) \ | 406 V(StaticCall, A_D, num, num, ___) \ |
407 V(InstanceCall1, A_D, num, num, ___) \ | 407 V(InstanceCall1, A_D, num, num, ___) \ |
408 V(InstanceCall2, A_D, num, num, ___) \ | 408 V(InstanceCall2, A_D, num, num, ___) \ |
409 V(InstanceCall1Opt, A_D, num, num, ___) \ | 409 V(InstanceCall1Opt, A_D, num, num, ___) \ |
410 V(InstanceCall2Opt, A_D, num, num, ___) \ | 410 V(InstanceCall2Opt, A_D, num, num, ___) \ |
411 V(NativeCall, 0, ___, ___, ___) \ | 411 V(NativeCall, 0, ___, ___, ___) \ |
412 V(NativeBootstrapCall, 0, ___, ___, ___) \ | 412 V(NativeBootstrapCall, 0, ___, ___, ___) \ |
413 V(AddTOS, 0, ___, ___, ___) \ | 413 V(AddTOS, 0, ___, ___, ___) \ |
414 V(SubTOS, 0, ___, ___, ___) \ | 414 V(SubTOS, 0, ___, ___, ___) \ |
415 V(MulTOS, 0, ___, ___, ___) \ | 415 V(MulTOS, 0, ___, ___, ___) \ |
416 V(BitOrTOS, 0, ___, ___, ___) \ | 416 V(BitOrTOS, 0, ___, ___, ___) \ |
417 V(BitAndTOS, 0, ___, ___, ___) \ | 417 V(BitAndTOS, 0, ___, ___, ___) \ |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
568 kNumberOfDummyFpuRegisters, | 568 kNumberOfDummyFpuRegisters, |
569 }; | 569 }; |
570 const FpuRegister FpuTMP = kFakeFpuRegister; | 570 const FpuRegister FpuTMP = kFakeFpuRegister; |
571 const intptr_t kNumberOfFpuRegisters = 1; | 571 const intptr_t kNumberOfFpuRegisters = 1; |
572 | 572 |
573 enum Condition { EQ, NE }; | 573 enum Condition { EQ, NE }; |
574 | 574 |
575 } // namespace dart | 575 } // namespace dart |
576 | 576 |
577 #endif // VM_CONSTANTS_DBC_H_ | 577 #endif // VM_CONSTANTS_DBC_H_ |
OLD | NEW |