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 1310 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1321 | 1321 |
1322 bool generating_stub_; | 1322 bool generating_stub_; |
1323 bool allow_stub_calls_; | 1323 bool allow_stub_calls_; |
1324 bool has_frame_; | 1324 bool has_frame_; |
1325 bool root_array_available_; | 1325 bool root_array_available_; |
1326 | 1326 |
1327 // Returns a register holding the smi value. The register MUST NOT be | 1327 // Returns a register holding the smi value. The register MUST NOT be |
1328 // modified. It may be the "smi 1 constant" register. | 1328 // modified. It may be the "smi 1 constant" register. |
1329 Register GetSmiConstant(Smi* value); | 1329 Register GetSmiConstant(Smi* value); |
1330 | 1330 |
| 1331 intptr_t RootRegisterDelta(ExternalReference other); |
| 1332 |
1331 // Moves the smi value to the destination register. | 1333 // Moves the smi value to the destination register. |
1332 void LoadSmiConstant(Register dst, Smi* value); | 1334 void LoadSmiConstant(Register dst, Smi* value); |
1333 | 1335 |
1334 // This handle will be patched with the code object on installation. | 1336 // This handle will be patched with the code object on installation. |
1335 Handle<Object> code_object_; | 1337 Handle<Object> code_object_; |
1336 | 1338 |
1337 // Helper functions for generating invokes. | 1339 // Helper functions for generating invokes. |
1338 void InvokePrologue(const ParameterCount& expected, | 1340 void InvokePrologue(const ParameterCount& expected, |
1339 const ParameterCount& actual, | 1341 const ParameterCount& actual, |
1340 Handle<Code> code_constant, | 1342 Handle<Code> code_constant, |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1480 masm->popfd(); \ | 1482 masm->popfd(); \ |
1481 } \ | 1483 } \ |
1482 masm-> | 1484 masm-> |
1483 #else | 1485 #else |
1484 #define ACCESS_MASM(masm) masm-> | 1486 #define ACCESS_MASM(masm) masm-> |
1485 #endif | 1487 #endif |
1486 | 1488 |
1487 } } // namespace v8::internal | 1489 } } // namespace v8::internal |
1488 | 1490 |
1489 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1491 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |