| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
| 9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
| 10 #include "src/frames.h" | 10 #include "src/frames.h" |
| (...skipping 1308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1319 // Abort execution if argument is not a name, enabled via --debug-code. | 1319 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1320 void AssertName(Register object); | 1320 void AssertName(Register object); |
| 1321 | 1321 |
| 1322 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1322 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1323 void AssertFunction(Register object); | 1323 void AssertFunction(Register object); |
| 1324 | 1324 |
| 1325 // Abort execution if argument is not a JSBoundFunction, | 1325 // Abort execution if argument is not a JSBoundFunction, |
| 1326 // enabled via --debug-code. | 1326 // enabled via --debug-code. |
| 1327 void AssertBoundFunction(Register object); | 1327 void AssertBoundFunction(Register object); |
| 1328 | 1328 |
| 1329 // Abort execution if argument is not a JSGeneratorObject, |
| 1330 // enabled via --debug-code. |
| 1331 void AssertGeneratorObject(Register object); |
| 1332 |
| 1329 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 1333 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 1330 void AssertReceiver(Register object); | 1334 void AssertReceiver(Register object); |
| 1331 | 1335 |
| 1332 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1336 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1333 // via --debug-code. | 1337 // via --debug-code. |
| 1334 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1338 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1335 | 1339 |
| 1336 // Abort execution if reg is not the root value with the given index, | 1340 // Abort execution if reg is not the root value with the given index, |
| 1337 // enabled via --debug-code. | 1341 // enabled via --debug-code. |
| 1338 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1342 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1580 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1577 #else | 1581 #else |
| 1578 #define ACCESS_MASM(masm) masm-> | 1582 #define ACCESS_MASM(masm) masm-> |
| 1579 #endif | 1583 #endif |
| 1580 | 1584 |
| 1581 | 1585 |
| 1582 } // namespace internal | 1586 } // namespace internal |
| 1583 } // namespace v8 | 1587 } // namespace v8 |
| 1584 | 1588 |
| 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1589 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |