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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 a JSFunction, enabled via --debug-code. | 1293 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1294 void AssertFunction(Register object); | 1294 void AssertFunction(Register object); |
1295 | 1295 |
1296 // Abort execution if argument is not a JSBoundFunction, | 1296 // Abort execution if argument is not a JSBoundFunction, |
1297 // enabled via --debug-code. | 1297 // enabled via --debug-code. |
1298 void AssertBoundFunction(Register object); | 1298 void AssertBoundFunction(Register object); |
1299 | 1299 |
| 1300 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 1301 void AssertReceiver(Register object); |
| 1302 |
1300 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1303 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1301 // via --debug-code. | 1304 // via --debug-code. |
1302 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1305 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1303 | 1306 |
1304 // Abort execution if reg is not the root value with the given index, | 1307 // Abort execution if reg is not the root value with the given index, |
1305 // enabled via --debug-code. | 1308 // enabled via --debug-code. |
1306 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1309 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1307 | 1310 |
1308 // --------------------------------------------------------------------------- | 1311 // --------------------------------------------------------------------------- |
1309 // HeapNumber utilities | 1312 // HeapNumber utilities |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1544 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1547 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1545 #else | 1548 #else |
1546 #define ACCESS_MASM(masm) masm-> | 1549 #define ACCESS_MASM(masm) masm-> |
1547 #endif | 1550 #endif |
1548 | 1551 |
1549 | 1552 |
1550 } // namespace internal | 1553 } // namespace internal |
1551 } // namespace v8 | 1554 } // namespace v8 |
1552 | 1555 |
1553 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1556 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |