| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 805 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 816 } | 816 } |
| 817 | 817 |
| 818 // Load a global cell into a register. | 818 // Load a global cell into a register. |
| 819 void LoadGlobalCell(Register dst, Handle<Cell> cell); | 819 void LoadGlobalCell(Register dst, Handle<Cell> cell); |
| 820 | 820 |
| 821 // Emit code to discard a non-negative number of pointer-sized elements | 821 // Emit code to discard a non-negative number of pointer-sized elements |
| 822 // from the stack, clobbering only the rsp register. | 822 // from the stack, clobbering only the rsp register. |
| 823 void Drop(int stack_elements); | 823 void Drop(int stack_elements); |
| 824 | 824 |
| 825 void Call(Label* target) { call(target); } | 825 void Call(Label* target) { call(target); } |
| 826 void Push(Register src) { push(src); } |
| 827 void Pop(Register dst) { pop(dst); } |
| 826 void PushReturnAddressFrom(Register src) { push(src); } | 828 void PushReturnAddressFrom(Register src) { push(src); } |
| 827 void PopReturnAddressTo(Register dst) { pop(dst); } | 829 void PopReturnAddressTo(Register dst) { pop(dst); } |
| 828 | 830 |
| 829 // Control Flow | 831 // Control Flow |
| 830 void Jump(Address destination, RelocInfo::Mode rmode); | 832 void Jump(Address destination, RelocInfo::Mode rmode); |
| 831 void Jump(ExternalReference ext); | 833 void Jump(ExternalReference ext); |
| 832 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); | 834 void Jump(Handle<Code> code_object, RelocInfo::Mode rmode); |
| 833 | 835 |
| 834 void Call(Address destination, RelocInfo::Mode rmode); | 836 void Call(Address destination, RelocInfo::Mode rmode); |
| 835 void Call(ExternalReference ext); | 837 void Call(ExternalReference ext); |
| (...skipping 705 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1541 masm->popfq(); \ | 1543 masm->popfq(); \ |
| 1542 } \ | 1544 } \ |
| 1543 masm-> | 1545 masm-> |
| 1544 #else | 1546 #else |
| 1545 #define ACCESS_MASM(masm) masm-> | 1547 #define ACCESS_MASM(masm) masm-> |
| 1546 #endif | 1548 #endif |
| 1547 | 1549 |
| 1548 } } // namespace v8::internal | 1550 } } // namespace v8::internal |
| 1549 | 1551 |
| 1550 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1552 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |