| 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 1272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1283 // Abort execution if argument is a smi, enabled via --debug-code. | 1283 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1284 void AssertNotSmi(Register object); | 1284 void AssertNotSmi(Register object); |
| 1285 void AssertSmi(Register object); | 1285 void AssertSmi(Register object); |
| 1286 | 1286 |
| 1287 // Abort execution if argument is not a string, enabled via --debug-code. | 1287 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1288 void AssertString(Register object); | 1288 void AssertString(Register object); |
| 1289 | 1289 |
| 1290 // Abort execution if argument is not a name, enabled via --debug-code. | 1290 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1291 void AssertName(Register object); | 1291 void AssertName(Register object); |
| 1292 | 1292 |
| 1293 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1294 // via --debug-code. |
| 1295 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1296 |
| 1293 // Abort execution if reg is not the root value with the given index, | 1297 // Abort execution if reg is not the root value with the given index, |
| 1294 // enabled via --debug-code. | 1298 // enabled via --debug-code. |
| 1295 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1299 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
| 1296 | 1300 |
| 1297 // --------------------------------------------------------------------------- | 1301 // --------------------------------------------------------------------------- |
| 1298 // HeapNumber utilities | 1302 // HeapNumber utilities |
| 1299 | 1303 |
| 1300 void JumpIfNotHeapNumber(Register object, | 1304 void JumpIfNotHeapNumber(Register object, |
| 1301 Register heap_number_map, | 1305 Register heap_number_map, |
| 1302 Register scratch, | 1306 Register scratch, |
| (...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1596 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1600 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1597 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1601 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1598 #else | 1602 #else |
| 1599 #define ACCESS_MASM(masm) masm-> | 1603 #define ACCESS_MASM(masm) masm-> |
| 1600 #endif | 1604 #endif |
| 1601 | 1605 |
| 1602 | 1606 |
| 1603 } } // namespace v8::internal | 1607 } } // namespace v8::internal |
| 1604 | 1608 |
| 1605 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1609 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |