| 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 616 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 627 void EmitOperand(int rm, const Operand& operand); | 627 void EmitOperand(int rm, const Operand& operand); |
| 628 void EmitImmediate(const Immediate& imm); | 628 void EmitImmediate(const Immediate& imm); |
| 629 void EmitComplex(int rm, const Operand& operand, const Immediate& immediate); | 629 void EmitComplex(int rm, const Operand& operand, const Immediate& immediate); |
| 630 void EmitLabel(Label* label, int instruction_size); | 630 void EmitLabel(Label* label, int instruction_size); |
| 631 void EmitLabelLink(Label* label); | 631 void EmitLabelLink(Label* label); |
| 632 void EmitNearLabelLink(Label* label); | 632 void EmitNearLabelLink(Label* label); |
| 633 | 633 |
| 634 void EmitGenericShift(int rm, Register reg, const Immediate& imm); | 634 void EmitGenericShift(int rm, Register reg, const Immediate& imm); |
| 635 void EmitGenericShift(int rm, Register operand, Register shifter); | 635 void EmitGenericShift(int rm, Register operand, Register shifter); |
| 636 | 636 |
| 637 void StoreIntoObjectFilter(Register object, Register value, Label* no_update); |
| 638 |
| 637 DISALLOW_ALLOCATION(); | 639 DISALLOW_ALLOCATION(); |
| 638 DISALLOW_COPY_AND_ASSIGN(Assembler); | 640 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 639 }; | 641 }; |
| 640 | 642 |
| 641 | 643 |
| 642 inline void Assembler::EmitUint8(uint8_t value) { | 644 inline void Assembler::EmitUint8(uint8_t value) { |
| 643 buffer_.Emit<uint8_t>(value); | 645 buffer_.Emit<uint8_t>(value); |
| 644 } | 646 } |
| 645 | 647 |
| 646 | 648 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 665 } | 667 } |
| 666 | 668 |
| 667 | 669 |
| 668 inline void Assembler::EmitOperandSizeOverride() { | 670 inline void Assembler::EmitOperandSizeOverride() { |
| 669 EmitUint8(0x66); | 671 EmitUint8(0x66); |
| 670 } | 672 } |
| 671 | 673 |
| 672 } // namespace dart | 674 } // namespace dart |
| 673 | 675 |
| 674 #endif // VM_ASSEMBLER_IA32_H_ | 676 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |