| 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/bailout-reason.h" | 8 #include "src/bailout-reason.h" |
| 9 #include "src/base/flags.h" | 9 #include "src/base/flags.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 823 | 823 |
| 824 // Handle support | 824 // Handle support |
| 825 void Move(Register dst, Handle<Object> source); | 825 void Move(Register dst, Handle<Object> source); |
| 826 void Move(const Operand& dst, Handle<Object> source); | 826 void Move(const Operand& dst, Handle<Object> source); |
| 827 void Cmp(Register dst, Handle<Object> source); | 827 void Cmp(Register dst, Handle<Object> source); |
| 828 void Cmp(const Operand& dst, Handle<Object> source); | 828 void Cmp(const Operand& dst, Handle<Object> source); |
| 829 void Cmp(Register dst, Smi* src); | 829 void Cmp(Register dst, Smi* src); |
| 830 void Cmp(const Operand& dst, Smi* src); | 830 void Cmp(const Operand& dst, Smi* src); |
| 831 void Push(Handle<Object> source); | 831 void Push(Handle<Object> source); |
| 832 | 832 |
| 833 // Move a Smi or HeapNumber. |
| 834 void MoveNumber(Register dst, double value); |
| 835 |
| 833 // Load a heap object and handle the case of new-space objects by | 836 // Load a heap object and handle the case of new-space objects by |
| 834 // indirecting via a global cell. | 837 // indirecting via a global cell. |
| 835 void MoveHeapObject(Register result, Handle<Object> object); | 838 void MoveHeapObject(Register result, Handle<Object> object); |
| 836 | 839 |
| 837 void GetWeakValue(Register value, Handle<WeakCell> cell); | 840 void GetWeakValue(Register value, Handle<WeakCell> cell); |
| 838 | 841 |
| 839 // Load the value of the weak cell in the value register. Branch to the given | 842 // Load the value of the weak cell in the value register. Branch to the given |
| 840 // miss label if the weak cell was cleared. | 843 // miss label if the weak cell was cleared. |
| 841 void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); | 844 void LoadWeakValue(Register value, Handle<WeakCell> cell, Label* miss); |
| 842 | 845 |
| (...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1569 inline Operand StackOperandForReturnAddress(int32_t disp) { | 1572 inline Operand StackOperandForReturnAddress(int32_t disp) { |
| 1570 return Operand(rsp, disp); | 1573 return Operand(rsp, disp); |
| 1571 } | 1574 } |
| 1572 | 1575 |
| 1573 #define ACCESS_MASM(masm) masm-> | 1576 #define ACCESS_MASM(masm) masm-> |
| 1574 | 1577 |
| 1575 } // namespace internal | 1578 } // namespace internal |
| 1576 } // namespace v8 | 1579 } // namespace v8 |
| 1577 | 1580 |
| 1578 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1581 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |