| 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_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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 654 void MoveRegister(Register to, Register from); | 654 void MoveRegister(Register to, Register from); |
| 655 void PopRegister(Register r); | 655 void PopRegister(Register r); |
| 656 | 656 |
| 657 void AddImmediate(Register reg, const Immediate& imm); | 657 void AddImmediate(Register reg, const Immediate& imm); |
| 658 void SubImmediate(Register reg, const Immediate& imm); | 658 void SubImmediate(Register reg, const Immediate& imm); |
| 659 | 659 |
| 660 void Drop(intptr_t stack_elements); | 660 void Drop(intptr_t stack_elements); |
| 661 | 661 |
| 662 void LoadIsolate(Register dst); | 662 void LoadIsolate(Register dst); |
| 663 | 663 |
| 664 void LoadBoolTrue(Register dst); |
| 665 void LoadBoolFalse(Register dst); |
| 664 void LoadObject(Register dst, const Object& object); | 666 void LoadObject(Register dst, const Object& object); |
| 665 | 667 |
| 666 // If 'object' is a large Smi, xor it with a per-assembler cookie value to | 668 // If 'object' is a large Smi, xor it with a per-assembler cookie value to |
| 667 // prevent user-controlled immediates from appearing in the code stream. | 669 // prevent user-controlled immediates from appearing in the code stream. |
| 668 void LoadObjectSafely(Register dst, const Object& object); | 670 void LoadObjectSafely(Register dst, const Object& object); |
| 669 | 671 |
| 670 void PushObject(const Object& object); | 672 void PushObject(const Object& object); |
| 671 void CompareObject(Register reg, const Object& object); | 673 void CompareObject(Register reg, const Object& object); |
| 672 void LoadDoubleConstant(XmmRegister dst, double value); | 674 void LoadDoubleConstant(XmmRegister dst, double value); |
| 673 | 675 |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1031 } | 1033 } |
| 1032 | 1034 |
| 1033 | 1035 |
| 1034 inline void Assembler::EmitOperandSizeOverride() { | 1036 inline void Assembler::EmitOperandSizeOverride() { |
| 1035 EmitUint8(0x66); | 1037 EmitUint8(0x66); |
| 1036 } | 1038 } |
| 1037 | 1039 |
| 1038 } // namespace dart | 1040 } // namespace dart |
| 1039 | 1041 |
| 1040 #endif // VM_ASSEMBLER_IA32_H_ | 1042 #endif // VM_ASSEMBLER_IA32_H_ |
| OLD | NEW |