| 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_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 673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 684 void LoadImmediate(const Address& dst, const Immediate& imm, Register pp); | 684 void LoadImmediate(const Address& dst, const Immediate& imm, Register pp); |
| 685 void LoadObject(Register dst, const Object& obj, Register pp); | 685 void LoadObject(Register dst, const Object& obj, Register pp); |
| 686 void JmpPatchable(const ExternalLabel* label, Register pp); | 686 void JmpPatchable(const ExternalLabel* label, Register pp); |
| 687 void Jmp(const ExternalLabel* label, Register pp); | 687 void Jmp(const ExternalLabel* label, Register pp); |
| 688 void J(Condition condition, const ExternalLabel* label, Register pp); | 688 void J(Condition condition, const ExternalLabel* label, Register pp); |
| 689 void CallPatchable(const ExternalLabel* label); | 689 void CallPatchable(const ExternalLabel* label); |
| 690 void Call(const ExternalLabel* label, Register pp); | 690 void Call(const ExternalLabel* label, Register pp); |
| 691 void StoreObject(const Address& dst, const Object& obj, Register pp); | 691 void StoreObject(const Address& dst, const Object& obj, Register pp); |
| 692 void PushObject(const Object& object, Register pp); | 692 void PushObject(const Object& object, Register pp); |
| 693 void CompareObject(Register reg, const Object& object, Register pp); | 693 void CompareObject(Register reg, const Object& object, Register pp); |
| 694 void LoadDoubleConstant(XmmRegister dst, double value); | 694 void LoadDoubleConstant(XmmRegister dst, double value, Register pp); |
| 695 | 695 |
| 696 // Destroys value. | 696 // Destroys value. |
| 697 void StoreIntoObject(Register object, // Object we are storing into. | 697 void StoreIntoObject(Register object, // Object we are storing into. |
| 698 const Address& dest, // Where we are storing into. | 698 const Address& dest, // Where we are storing into. |
| 699 Register value, // Value we are storing. | 699 Register value, // Value we are storing. |
| 700 bool can_value_be_smi = true); | 700 bool can_value_be_smi = true); |
| 701 | 701 |
| 702 void StoreIntoObjectNoBarrier(Register object, | 702 void StoreIntoObjectNoBarrier(Register object, |
| 703 const Address& dest, | 703 const Address& dest, |
| 704 Register value); | 704 Register value); |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1065 } | 1065 } |
| 1066 | 1066 |
| 1067 | 1067 |
| 1068 inline void Assembler::EmitOperandSizeOverride() { | 1068 inline void Assembler::EmitOperandSizeOverride() { |
| 1069 EmitUint8(0x66); | 1069 EmitUint8(0x66); |
| 1070 } | 1070 } |
| 1071 | 1071 |
| 1072 } // namespace dart | 1072 } // namespace dart |
| 1073 | 1073 |
| 1074 #endif // VM_ASSEMBLER_X64_H_ | 1074 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |