| 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 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 691 bool allow_constant_pool() const { | 691 bool allow_constant_pool() const { |
| 692 return allow_constant_pool_; | 692 return allow_constant_pool_; |
| 693 } | 693 } |
| 694 void set_allow_constant_pool(bool b) { | 694 void set_allow_constant_pool(bool b) { |
| 695 allow_constant_pool_ = b; | 695 allow_constant_pool_ = b; |
| 696 } | 696 } |
| 697 | 697 |
| 698 bool CanLoadImmediateFromPool(const Immediate& imm, Register pp); | 698 bool CanLoadImmediateFromPool(const Immediate& imm, Register pp); |
| 699 void LoadImmediate(Register reg, const Immediate& imm, Register pp); | 699 void LoadImmediate(Register reg, const Immediate& imm, Register pp); |
| 700 void LoadImmediate(const Address& dst, const Immediate& imm, Register pp); | 700 void LoadImmediate(const Address& dst, const Immediate& imm, Register pp); |
| 701 void LoadIsolate(Register dst); |
| 701 void LoadObject(Register dst, const Object& obj, Register pp); | 702 void LoadObject(Register dst, const Object& obj, Register pp); |
| 702 void JmpPatchable(const ExternalLabel* label, Register pp); | 703 void JmpPatchable(const ExternalLabel* label, Register pp); |
| 703 void Jmp(const ExternalLabel* label, Register pp); | 704 void Jmp(const ExternalLabel* label, Register pp); |
| 704 void J(Condition condition, const ExternalLabel* label, Register pp); | 705 void J(Condition condition, const ExternalLabel* label, Register pp); |
| 705 void CallPatchable(const ExternalLabel* label); | 706 void CallPatchable(const ExternalLabel* label); |
| 706 void Call(const ExternalLabel* label, Register pp); | 707 void Call(const ExternalLabel* label, Register pp); |
| 707 void StoreObject(const Address& dst, const Object& obj, Register pp); | 708 void StoreObject(const Address& dst, const Object& obj, Register pp); |
| 708 void PushObject(const Object& object, Register pp); | 709 void PushObject(const Object& object, Register pp); |
| 709 void CompareObject(Register reg, const Object& object, Register pp); | 710 void CompareObject(Register reg, const Object& object, Register pp); |
| 710 | 711 |
| (...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1127 } | 1128 } |
| 1128 | 1129 |
| 1129 | 1130 |
| 1130 inline void Assembler::EmitOperandSizeOverride() { | 1131 inline void Assembler::EmitOperandSizeOverride() { |
| 1131 EmitUint8(0x66); | 1132 EmitUint8(0x66); |
| 1132 } | 1133 } |
| 1133 | 1134 |
| 1134 } // namespace dart | 1135 } // namespace dart |
| 1135 | 1136 |
| 1136 #endif // VM_ASSEMBLER_X64_H_ | 1137 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |