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 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1289 // Abort execution if argument is a smi, enabled via --debug-code. | 1289 // Abort execution if argument is a smi, enabled via --debug-code. |
1290 void AssertNotSmi(Register object); | 1290 void AssertNotSmi(Register object); |
1291 void AssertSmi(Register object); | 1291 void AssertSmi(Register object); |
1292 | 1292 |
1293 // Abort execution if argument is not a string, enabled via --debug-code. | 1293 // Abort execution if argument is not a string, enabled via --debug-code. |
1294 void AssertString(Register object); | 1294 void AssertString(Register object); |
1295 | 1295 |
1296 // Abort execution if argument is not a name, enabled via --debug-code. | 1296 // Abort execution if argument is not a name, enabled via --debug-code. |
1297 void AssertName(Register object); | 1297 void AssertName(Register object); |
1298 | 1298 |
| 1299 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1300 // via --debug-code. |
| 1301 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1302 |
1299 // Abort execution if reg is not the root value with the given index, | 1303 // Abort execution if reg is not the root value with the given index, |
1300 // enabled via --debug-code. | 1304 // enabled via --debug-code. |
1301 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1305 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1302 | 1306 |
1303 // --------------------------------------------------------------------------- | 1307 // --------------------------------------------------------------------------- |
1304 // HeapNumber utilities | 1308 // HeapNumber utilities |
1305 | 1309 |
1306 void JumpIfNotHeapNumber(Register object, | 1310 void JumpIfNotHeapNumber(Register object, |
1307 Register heap_number_map, | 1311 Register heap_number_map, |
1308 Register scratch, | 1312 Register scratch, |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1535 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1539 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1536 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1540 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1537 #else | 1541 #else |
1538 #define ACCESS_MASM(masm) masm-> | 1542 #define ACCESS_MASM(masm) masm-> |
1539 #endif | 1543 #endif |
1540 | 1544 |
1541 | 1545 |
1542 } } // namespace v8::internal | 1546 } } // namespace v8::internal |
1543 | 1547 |
1544 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1548 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |