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 1447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; | 1458 static const int kSmiShift = kSmiTagSize + kSmiShiftSize; |
1459 | 1459 |
1460 bool generating_stub_; | 1460 bool generating_stub_; |
1461 bool has_frame_; | 1461 bool has_frame_; |
1462 bool root_array_available_; | 1462 bool root_array_available_; |
1463 | 1463 |
1464 // Returns a register holding the smi value. The register MUST NOT be | 1464 // Returns a register holding the smi value. The register MUST NOT be |
1465 // modified. It may be the "smi 1 constant" register. | 1465 // modified. It may be the "smi 1 constant" register. |
1466 Register GetSmiConstant(Smi* value); | 1466 Register GetSmiConstant(Smi* value); |
1467 | 1467 |
1468 intptr_t RootRegisterDelta(ExternalReference other); | 1468 int64_t RootRegisterDelta(ExternalReference other); |
1469 | 1469 |
1470 // Moves the smi value to the destination register. | 1470 // Moves the smi value to the destination register. |
1471 void LoadSmiConstant(Register dst, Smi* value); | 1471 void LoadSmiConstant(Register dst, Smi* value); |
1472 | 1472 |
1473 // This handle will be patched with the code object on installation. | 1473 // This handle will be patched with the code object on installation. |
1474 Handle<Object> code_object_; | 1474 Handle<Object> code_object_; |
1475 | 1475 |
1476 // Helper functions for generating invokes. | 1476 // Helper functions for generating invokes. |
1477 void InvokePrologue(const ParameterCount& expected, | 1477 void InvokePrologue(const ParameterCount& expected, |
1478 const ParameterCount& actual, | 1478 const ParameterCount& actual, |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1624 masm->popfq(); \ | 1624 masm->popfq(); \ |
1625 } \ | 1625 } \ |
1626 masm-> | 1626 masm-> |
1627 #else | 1627 #else |
1628 #define ACCESS_MASM(masm) masm-> | 1628 #define ACCESS_MASM(masm) masm-> |
1629 #endif | 1629 #endif |
1630 | 1630 |
1631 } } // namespace v8::internal | 1631 } } // namespace v8::internal |
1632 | 1632 |
1633 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1633 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |