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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
120 // Operand operand = ExternalOperand(extref); | 120 // Operand operand = ExternalOperand(extref); |
121 // operation(operand, ..); | 121 // operation(operand, ..); |
122 void Load(Register destination, ExternalReference source); | 122 void Load(Register destination, ExternalReference source); |
123 void Store(ExternalReference destination, Register source); | 123 void Store(ExternalReference destination, Register source); |
124 // Loads the address of the external reference into the destination | 124 // Loads the address of the external reference into the destination |
125 // register. | 125 // register. |
126 void LoadAddress(Register destination, ExternalReference source); | 126 void LoadAddress(Register destination, ExternalReference source); |
127 // Returns the size of the code generated by LoadAddress. | 127 // Returns the size of the code generated by LoadAddress. |
128 // Used by CallSize(ExternalReference) to find the size of a call. | 128 // Used by CallSize(ExternalReference) to find the size of a call. |
129 int LoadAddressSize(ExternalReference source); | 129 int LoadAddressSize(ExternalReference source); |
| 130 // Pushes the address of the external reference onto the stack. |
| 131 void PushAddress(ExternalReference source); |
130 | 132 |
131 // Operations on roots in the root-array. | 133 // Operations on roots in the root-array. |
132 void LoadRoot(Register destination, Heap::RootListIndex index); | 134 void LoadRoot(Register destination, Heap::RootListIndex index); |
133 void StoreRoot(Register source, Heap::RootListIndex index); | 135 void StoreRoot(Register source, Heap::RootListIndex index); |
134 // Load a root value where the index (or part of it) is variable. | 136 // Load a root value where the index (or part of it) is variable. |
135 // The variable_offset register is added to the fixed_offset value | 137 // The variable_offset register is added to the fixed_offset value |
136 // to get the index into the root-array. | 138 // to get the index into the root-array. |
137 void LoadRootIndexed(Register destination, | 139 void LoadRootIndexed(Register destination, |
138 Register variable_offset, | 140 Register variable_offset, |
139 int fixed_offset); | 141 int fixed_offset); |
(...skipping 1332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1472 masm->popfd(); \ | 1474 masm->popfd(); \ |
1473 } \ | 1475 } \ |
1474 masm-> | 1476 masm-> |
1475 #else | 1477 #else |
1476 #define ACCESS_MASM(masm) masm-> | 1478 #define ACCESS_MASM(masm) masm-> |
1477 #endif | 1479 #endif |
1478 | 1480 |
1479 } } // namespace v8::internal | 1481 } } // namespace v8::internal |
1480 | 1482 |
1481 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1483 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |