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 938 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
949 // Abort execution if argument is not a number. Used in debug code. | 949 // Abort execution if argument is not a number. Used in debug code. |
950 void AbortIfNotNumber(Register object); | 950 void AbortIfNotNumber(Register object); |
951 | 951 |
952 // Abort execution if argument is a smi. Used in debug code. | 952 // Abort execution if argument is a smi. Used in debug code. |
953 void AbortIfSmi(Register object); | 953 void AbortIfSmi(Register object); |
954 | 954 |
955 // Abort execution if argument is not a smi. Used in debug code. | 955 // Abort execution if argument is not a smi. Used in debug code. |
956 void AbortIfNotSmi(Register object); | 956 void AbortIfNotSmi(Register object); |
957 void AbortIfNotSmi(const Operand& object); | 957 void AbortIfNotSmi(const Operand& object); |
958 | 958 |
| 959 // Abort execution if argument is not a fixed array. Used in debug code. |
| 960 void AbortIfNotFixedArray(Register object); |
| 961 |
959 // Abort execution if a 64 bit register containing a 32 bit payload does not | 962 // Abort execution if a 64 bit register containing a 32 bit payload does not |
960 // have zeros in the top 32 bits. | 963 // have zeros in the top 32 bits. |
961 void AbortIfNotZeroExtended(Register reg); | 964 void AbortIfNotZeroExtended(Register reg); |
962 | 965 |
963 // Abort execution if argument is a string. Used in debug code. | 966 // Abort execution if argument is a string. Used in debug code. |
964 void AbortIfNotString(Register object); | 967 void AbortIfNotString(Register object); |
965 | 968 |
966 // Abort execution if argument is not the root value with the given index. | 969 // Abort execution if argument is not the root value with the given index. |
967 void AbortIfNotRootValue(Register src, | 970 void AbortIfNotRootValue(Register src, |
968 Heap::RootListIndex root_value_index, | 971 Heap::RootListIndex root_value_index, |
(...skipping 511 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1480 masm->popfd(); \ | 1483 masm->popfd(); \ |
1481 } \ | 1484 } \ |
1482 masm-> | 1485 masm-> |
1483 #else | 1486 #else |
1484 #define ACCESS_MASM(masm) masm-> | 1487 #define ACCESS_MASM(masm) masm-> |
1485 #endif | 1488 #endif |
1486 | 1489 |
1487 } } // namespace v8::internal | 1490 } } // namespace v8::internal |
1488 | 1491 |
1489 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ | 1492 #endif // V8_X64_MACRO_ASSEMBLER_X64_H_ |
OLD | NEW |