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 1029 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1040 // Abort execution if a 64 bit register containing a 32 bit payload does not | 1040 // Abort execution if a 64 bit register containing a 32 bit payload does not |
1041 // have zeros in the top 32 bits, enabled via --debug-code. | 1041 // have zeros in the top 32 bits, enabled via --debug-code. |
1042 void AssertZeroExtended(Register reg); | 1042 void AssertZeroExtended(Register reg); |
1043 | 1043 |
1044 // Abort execution if argument is not a string, enabled via --debug-code. | 1044 // Abort execution if argument is not a string, enabled via --debug-code. |
1045 void AssertString(Register object); | 1045 void AssertString(Register object); |
1046 | 1046 |
1047 // Abort execution if argument is not a name, enabled via --debug-code. | 1047 // Abort execution if argument is not a name, enabled via --debug-code. |
1048 void AssertName(Register object); | 1048 void AssertName(Register object); |
1049 | 1049 |
| 1050 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1051 // via --debug-code. |
| 1052 void AssertUndefinedOrAllocationSite(Register object); |
| 1053 |
1050 // Abort execution if argument is not the root value with the given index, | 1054 // Abort execution if argument is not the root value with the given index, |
1051 // enabled via --debug-code. | 1055 // enabled via --debug-code. |
1052 void AssertRootValue(Register src, | 1056 void AssertRootValue(Register src, |
1053 Heap::RootListIndex root_value_index, | 1057 Heap::RootListIndex root_value_index, |
1054 BailoutReason reason); | 1058 BailoutReason reason); |
1055 | 1059 |
1056 // --------------------------------------------------------------------------- | 1060 // --------------------------------------------------------------------------- |
1057 // Exception handling | 1061 // Exception handling |
1058 | 1062 |
1059 // Push a new try handler and link it into try handler chain. | 1063 // Push a new try handler and link it into try handler chain. |
(...skipping 554 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1614 masm->popfq(); \ | 1618 masm->popfq(); \ |
1615 } \ | 1619 } \ |
1616 masm-> | 1620 masm-> |
1617 #else | 1621 #else |
1618 #define ACCESS_MASM(masm) masm-> | 1622 #define ACCESS_MASM(masm) masm-> |
1619 #endif | 1623 #endif |
1620 | 1624 |
1621 } } // namespace v8::internal | 1625 } } // namespace v8::internal |
1622 | 1626 |
1623 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1627 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |