| 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 | 522 |
| 523 void DoubleAbs(XmmRegister reg); | 523 void DoubleAbs(XmmRegister reg); |
| 524 | 524 |
| 525 void LockCmpxchgl(const Address& address, Register reg) { | 525 void LockCmpxchgl(const Address& address, Register reg) { |
| 526 lock(); | 526 lock(); |
| 527 cmpxchgl(address, reg); | 527 cmpxchgl(address, reg); |
| 528 } | 528 } |
| 529 | 529 |
| 530 void EnterFrame(intptr_t frame_space); | 530 void EnterFrame(intptr_t frame_space); |
| 531 void LeaveFrame(); | 531 void LeaveFrame(); |
| 532 void ReserveAlignedFrameSpace(intptr_t frame_space); |
| 532 | 533 |
| 533 void CallRuntime(const RuntimeEntry& entry); | 534 void CallRuntime(const RuntimeEntry& entry); |
| 534 | 535 |
| 535 /* | 536 /* |
| 536 * Loading and comparing classes of objects. | 537 * Loading and comparing classes of objects. |
| 537 */ | 538 */ |
| 538 void LoadClassId(Register result, Register object); | 539 void LoadClassId(Register result, Register object); |
| 539 | 540 |
| 540 void LoadClassById(Register result, Register class_id); | 541 void LoadClassById(Register result, Register class_id); |
| 541 | 542 |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 661 } | 662 } |
| 662 | 663 |
| 663 | 664 |
| 664 inline void Assembler::EmitOperandSizeOverride() { | 665 inline void Assembler::EmitOperandSizeOverride() { |
| 665 EmitUint8(0x66); | 666 EmitUint8(0x66); |
| 666 } | 667 } |
| 667 | 668 |
| 668 } // namespace dart | 669 } // namespace dart |
| 669 | 670 |
| 670 #endif // VM_ASSEMBLER_X64_H_ | 671 #endif // VM_ASSEMBLER_X64_H_ |
| OLD | NEW |