| 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_X87_MACRO_ASSEMBLER_X87_H_ | 5 #ifndef V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ | 6 #define V8_X87_MACRO_ASSEMBLER_X87_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 763 call(self, RelocInfo::CODE_TARGET); | 763 call(self, RelocInfo::CODE_TARGET); |
| 764 } | 764 } |
| 765 | 765 |
| 766 // Move if the registers are not identical. | 766 // Move if the registers are not identical. |
| 767 void Move(Register target, Register source); | 767 void Move(Register target, Register source); |
| 768 | 768 |
| 769 // Move a constant into a destination using the most efficient encoding. | 769 // Move a constant into a destination using the most efficient encoding. |
| 770 void Move(Register dst, const Immediate& x); | 770 void Move(Register dst, const Immediate& x); |
| 771 void Move(const Operand& dst, const Immediate& x); | 771 void Move(const Operand& dst, const Immediate& x); |
| 772 | 772 |
| 773 void Move(Register dst, Handle<Object> handle) { LoadObject(dst, handle); } |
| 773 void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); } | 774 void Move(Register dst, Smi* source) { Move(dst, Immediate(source)); } |
| 774 | 775 |
| 775 // Push a handle value. | 776 // Push a handle value. |
| 776 void Push(Handle<Object> handle) { push(Immediate(handle)); } | 777 void Push(Handle<Object> handle) { push(Immediate(handle)); } |
| 777 void Push(Smi* smi) { Push(Immediate(smi)); } | 778 void Push(Smi* smi) { Push(Immediate(smi)); } |
| 778 | 779 |
| 779 Handle<Object> CodeObject() { | 780 Handle<Object> CodeObject() { |
| 780 DCHECK(!code_object_.is_null()); | 781 DCHECK(!code_object_.is_null()); |
| 781 return code_object_; | 782 return code_object_; |
| 782 } | 783 } |
| (...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1005 } \ | 1006 } \ |
| 1006 masm-> | 1007 masm-> |
| 1007 #else | 1008 #else |
| 1008 #define ACCESS_MASM(masm) masm-> | 1009 #define ACCESS_MASM(masm) masm-> |
| 1009 #endif | 1010 #endif |
| 1010 | 1011 |
| 1011 } // namespace internal | 1012 } // namespace internal |
| 1012 } // namespace v8 | 1013 } // namespace v8 |
| 1013 | 1014 |
| 1014 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ | 1015 #endif // V8_X87_MACRO_ASSEMBLER_X87_H_ |
| OLD | NEW |