| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ | 5 #ifndef V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ | 6 #define V8_X64_MACRO_ASSEMBLER_X64_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/frames.h" | 9 #include "src/frames.h" |
| 10 #include "src/globals.h" | 10 #include "src/globals.h" |
| (...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 790 Register first_object_instance_type, Register second_object_instance_type, | 790 Register first_object_instance_type, Register second_object_instance_type, |
| 791 Register scratch1, Register scratch2, Label* on_fail, | 791 Register scratch1, Register scratch2, Label* on_fail, |
| 792 Label::Distance near_jump = Label::kFar); | 792 Label::Distance near_jump = Label::kFar); |
| 793 | 793 |
| 794 void EmitSeqStringSetCharCheck(Register string, | 794 void EmitSeqStringSetCharCheck(Register string, |
| 795 Register index, | 795 Register index, |
| 796 Register value, | 796 Register value, |
| 797 uint32_t encoding_mask); | 797 uint32_t encoding_mask); |
| 798 | 798 |
| 799 // Checks if the given register or operand is a unique name | 799 // Checks if the given register or operand is a unique name |
| 800 void JumpIfNotUniqueName(Register reg, Label* not_unique_name, | 800 void JumpIfNotUniqueNameInstanceType(Register reg, Label* not_unique_name, |
| 801 Label::Distance distance = Label::kFar); | 801 Label::Distance distance = Label::kFar); |
| 802 void JumpIfNotUniqueName(Operand operand, Label* not_unique_name, | 802 void JumpIfNotUniqueNameInstanceType(Operand operand, Label* not_unique_name, |
| 803 Label::Distance distance = Label::kFar); | 803 Label::Distance distance = Label::kFar); |
| 804 | 804 |
| 805 // --------------------------------------------------------------------------- | 805 // --------------------------------------------------------------------------- |
| 806 // Macro instructions. | 806 // Macro instructions. |
| 807 | 807 |
| 808 // Load/store with specific representation. | 808 // Load/store with specific representation. |
| 809 void Load(Register dst, const Operand& src, Representation r); | 809 void Load(Register dst, const Operand& src, Representation r); |
| 810 void Store(const Operand& dst, Register src, Representation r); | 810 void Store(const Operand& dst, Register src, Representation r); |
| 811 | 811 |
| 812 // Load a register with a long value as efficiently as possible. | 812 // Load a register with a long value as efficiently as possible. |
| 813 void Set(Register dst, int64_t x); | 813 void Set(Register dst, int64_t x); |
| (...skipping 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1639 masm->popfq(); \ | 1639 masm->popfq(); \ |
| 1640 } \ | 1640 } \ |
| 1641 masm-> | 1641 masm-> |
| 1642 #else | 1642 #else |
| 1643 #define ACCESS_MASM(masm) masm-> | 1643 #define ACCESS_MASM(masm) masm-> |
| 1644 #endif | 1644 #endif |
| 1645 | 1645 |
| 1646 } } // namespace v8::internal | 1646 } } // namespace v8::internal |
| 1647 | 1647 |
| 1648 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1648 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |