| 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_IA32_H_ | 5 #ifndef VM_ASSEMBLER_IA32_H_ |
| 6 #define VM_ASSEMBLER_IA32_H_ | 6 #define VM_ASSEMBLER_IA32_H_ |
| 7 | 7 |
| 8 #ifndef VM_ASSEMBLER_H_ | 8 #ifndef VM_ASSEMBLER_H_ |
| 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. | 9 #error Do not include assembler_ia32.h directly; use assembler.h instead. |
| 10 #endif | 10 #endif |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 519 void DoubleAbs(XmmRegister reg); | 519 void DoubleAbs(XmmRegister reg); |
| 520 | 520 |
| 521 void LockCmpxchgl(const Address& address, Register reg) { | 521 void LockCmpxchgl(const Address& address, Register reg) { |
| 522 lock(); | 522 lock(); |
| 523 cmpxchgl(address, reg); | 523 cmpxchgl(address, reg); |
| 524 } | 524 } |
| 525 | 525 |
| 526 void EnterFrame(intptr_t frame_space); | 526 void EnterFrame(intptr_t frame_space); |
| 527 void LeaveFrame(); | 527 void LeaveFrame(); |
| 528 | 528 |
| 529 void CallRuntimeFromDart(const RuntimeEntry& entry); | 529 void CallRuntime(const RuntimeEntry& entry); |
| 530 void CallRuntimeFromStub(const RuntimeEntry& entry); | |
| 531 | 530 |
| 532 /* | 531 /* |
| 533 * Misc. functionality | 532 * Misc. functionality |
| 534 */ | 533 */ |
| 535 void SmiTag(Register reg) { | 534 void SmiTag(Register reg) { |
| 536 addl(reg, reg); | 535 addl(reg, reg); |
| 537 } | 536 } |
| 538 | 537 |
| 539 void SmiUntag(Register reg) { | 538 void SmiUntag(Register reg) { |
| 540 sarl(reg, Immediate(kSmiTagSize)); | 539 sarl(reg, Immediate(kSmiTagSize)); |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 614 } | 613 } |
| 615 | 614 |
| 616 | 615 |
| 617 inline void Assembler::EmitOperandSizeOverride() { | 616 inline void Assembler::EmitOperandSizeOverride() { |
| 618 EmitUint8(0x66); | 617 EmitUint8(0x66); |
| 619 } | 618 } |
| 620 | 619 |
| 621 } // namespace dart | 620 } // namespace dart |
| 622 | 621 |
| 623 #endif // VM_ASSEMBLER_IA32_H_ | 622 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |