| OLD | NEW |
| 1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 // Leave the current exit frame. Expects/provides the return value in | 167 // Leave the current exit frame. Expects/provides the return value in |
| 168 // register rax (untouched). | 168 // register rax (untouched). |
| 169 void LeaveApiExitFrame(); | 169 void LeaveApiExitFrame(); |
| 170 | 170 |
| 171 // Push and pop the registers that can hold pointers. | 171 // Push and pop the registers that can hold pointers. |
| 172 void PushSafepointRegisters() { Pushad(); } | 172 void PushSafepointRegisters() { Pushad(); } |
| 173 void PopSafepointRegisters() { Popad(); } | 173 void PopSafepointRegisters() { Popad(); } |
| 174 // Store the value in register src in the safepoint register stack | 174 // Store the value in register src in the safepoint register stack |
| 175 // slot for register dst. | 175 // slot for register dst. |
| 176 void StoreToSafepointRegisterSlot(Register dst, Register src); | 176 void StoreToSafepointRegisterSlot(Register dst, Register src); |
| 177 | 177 void LoadFromSafepointRegisterSlot(Register dst, Register src); |
| 178 | 178 |
| 179 // --------------------------------------------------------------------------- | 179 // --------------------------------------------------------------------------- |
| 180 // JavaScript invokes | 180 // JavaScript invokes |
| 181 | 181 |
| 182 // Invoke the JavaScript function code by either calling or jumping. | 182 // Invoke the JavaScript function code by either calling or jumping. |
| 183 void InvokeCode(Register code, | 183 void InvokeCode(Register code, |
| 184 const ParameterCount& expected, | 184 const ParameterCount& expected, |
| 185 const ParameterCount& actual, | 185 const ParameterCount& actual, |
| 186 InvokeFlag flag, | 186 InvokeFlag flag, |
| 187 PostCallGenerator* post_call_generator = NULL); | 187 PostCallGenerator* post_call_generator = NULL); |
| (...skipping 1655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1843 Jump(adaptor, RelocInfo::CODE_TARGET); | 1843 Jump(adaptor, RelocInfo::CODE_TARGET); |
| 1844 } | 1844 } |
| 1845 bind(&invoke); | 1845 bind(&invoke); |
| 1846 } | 1846 } |
| 1847 } | 1847 } |
| 1848 | 1848 |
| 1849 | 1849 |
| 1850 } } // namespace v8::internal | 1850 } } // namespace v8::internal |
| 1851 | 1851 |
| 1852 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1852 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
| OLD | NEW |