| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 766 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 777 | 777 |
| 778 // Handle support | 778 // Handle support |
| 779 void Move(Register dst, Handle<Object> source); | 779 void Move(Register dst, Handle<Object> source); |
| 780 void Move(const Operand& dst, Handle<Object> source); | 780 void Move(const Operand& dst, Handle<Object> source); |
| 781 void Cmp(Register dst, Handle<Object> source); | 781 void Cmp(Register dst, Handle<Object> source); |
| 782 void Cmp(const Operand& dst, Handle<Object> source); | 782 void Cmp(const Operand& dst, Handle<Object> source); |
| 783 void Cmp(Register dst, Smi* src); | 783 void Cmp(Register dst, Smi* src); |
| 784 void Cmp(const Operand& dst, Smi* src); | 784 void Cmp(const Operand& dst, Smi* src); |
| 785 void Push(Handle<Object> source); | 785 void Push(Handle<Object> source); |
| 786 | 786 |
| 787 // Load a heap object and handle the case of new-space objects by |
| 788 // indirecting via a global cell. |
| 789 void LoadHeapObject(Register result, Handle<HeapObject> object); |
| 790 void PushHeapObject(Handle<HeapObject> object); |
| 791 |
| 792 // Load a global cell into a register. |
| 793 void LoadGlobalCell(Register dst, Handle<JSGlobalPropertyCell> cell); |
| 794 |
| 787 // Emit code to discard a non-negative number of pointer-sized elements | 795 // Emit code to discard a non-negative number of pointer-sized elements |
| 788 // from the stack, clobbering only the rsp register. | 796 // from the stack, clobbering only the rsp register. |
| 789 void Drop(int stack_elements); | 797 void Drop(int stack_elements); |
| 790 | 798 |
| 791 void Call(Label* target) { call(target); } | 799 void Call(Label* target) { call(target); } |
| 792 | 800 |
| 793 // Control Flow | 801 // Control Flow |
| 794 void Jump(Address destination, RelocInfo::Mode rmode); | 802 void Jump(Address destination, RelocInfo::Mode rmode); |
| 795 void Jump(ExternalReference ext); | 803 void Jump(ExternalReference ext); |
| 796 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 804 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
| (...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 masm->popfd(); \ | 1428 masm->popfd(); \ |
| 1421 } \ | 1429 } \ |
| 1422 masm-> | 1430 masm-> |
| 1423 #else | 1431 #else |
| 1424 #define ACCESS_MASM(masm) masm-> | 1432 #define ACCESS_MASM(masm) masm-> |
| 1425 #endif | 1433 #endif |
| 1426 | 1434 |
| 1427 } } // namespace v8::internal | 1435 } } // namespace v8::internal |
| 1428 | 1436 |
| 1429 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1437 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |