OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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_ASSEMBLER_X64_H_ | 5 #ifndef VM_ASSEMBLER_X64_H_ |
6 #define VM_ASSEMBLER_X64_H_ | 6 #define VM_ASSEMBLER_X64_H_ |
7 | 7 |
8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
9 #error Do not include assembler_x64.h directly; use assembler.h instead. | 9 #error Do not include assembler_x64.h directly; use assembler.h instead. |
10 #endif | 10 #endif |
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 void AddImmediate(Register reg, const Immediate& imm); | 530 void AddImmediate(Register reg, const Immediate& imm); |
531 | 531 |
532 void Drop(intptr_t stack_elements); | 532 void Drop(intptr_t stack_elements); |
533 | 533 |
534 void LoadObject(Register dst, const Object& object); | 534 void LoadObject(Register dst, const Object& object); |
535 void StoreObject(const Address& dst, const Object& obj); | 535 void StoreObject(const Address& dst, const Object& obj); |
536 void PushObject(const Object& object); | 536 void PushObject(const Object& object); |
537 void CompareObject(Register reg, const Object& object); | 537 void CompareObject(Register reg, const Object& object); |
538 void LoadDoubleConstant(XmmRegister dst, double value); | 538 void LoadDoubleConstant(XmmRegister dst, double value); |
539 | 539 |
| 540 // Destroys value. |
540 void StoreIntoObject(Register object, // Object we are storing into. | 541 void StoreIntoObject(Register object, // Object we are storing into. |
541 const FieldAddress& dest, // Where we are storing into. | 542 const FieldAddress& dest, // Where we are storing into. |
542 Register value); // Value we are storing. | 543 Register value); // Value we are storing. |
543 | 544 |
544 void StoreIntoObjectNoBarrier(Register object, | 545 void StoreIntoObjectNoBarrier(Register object, |
545 const FieldAddress& dest, | 546 const FieldAddress& dest, |
546 Register value); | 547 Register value); |
547 void StoreIntoObjectNoBarrier(Register object, | 548 void StoreIntoObjectNoBarrier(Register object, |
548 const FieldAddress& dest, | 549 const FieldAddress& dest, |
549 const Object& value); | 550 const Object& value); |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
706 } | 707 } |
707 | 708 |
708 | 709 |
709 inline void Assembler::EmitOperandSizeOverride() { | 710 inline void Assembler::EmitOperandSizeOverride() { |
710 EmitUint8(0x66); | 711 EmitUint8(0x66); |
711 } | 712 } |
712 | 713 |
713 } // namespace dart | 714 } // namespace dart |
714 | 715 |
715 #endif // VM_ASSEMBLER_X64_H_ | 716 #endif // VM_ASSEMBLER_X64_H_ |
OLD | NEW |