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 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 | 1284 |
1285 // Abort execution if argument is not a string, enabled via --debug-code. | 1285 // Abort execution if argument is not a string, enabled via --debug-code. |
1286 void AssertString(Register object); | 1286 void AssertString(Register object); |
1287 | 1287 |
1288 // Abort execution if argument is not a name, enabled via --debug-code. | 1288 // Abort execution if argument is not a name, enabled via --debug-code. |
1289 void AssertName(Register object); | 1289 void AssertName(Register object); |
1290 | 1290 |
1291 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1291 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1292 void AssertFunction(Register object); | 1292 void AssertFunction(Register object); |
1293 | 1293 |
| 1294 // Abort execution if argument is not a JSBoundFunction, |
| 1295 // enabled via --debug-code. |
| 1296 void AssertBoundFunction(Register object); |
| 1297 |
1294 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1298 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1295 // via --debug-code. | 1299 // via --debug-code. |
1296 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1300 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1297 | 1301 |
1298 // Abort execution if reg is not the root value with the given index, | 1302 // Abort execution if reg is not the root value with the given index, |
1299 // enabled via --debug-code. | 1303 // enabled via --debug-code. |
1300 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1304 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1301 | 1305 |
1302 // --------------------------------------------------------------------------- | 1306 // --------------------------------------------------------------------------- |
1303 // HeapNumber utilities | 1307 // HeapNumber utilities |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1542 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1539 #else | 1543 #else |
1540 #define ACCESS_MASM(masm) masm-> | 1544 #define ACCESS_MASM(masm) masm-> |
1541 #endif | 1545 #endif |
1542 | 1546 |
1543 | 1547 |
1544 } // namespace internal | 1548 } // namespace internal |
1545 } // namespace v8 | 1549 } // namespace v8 |
1546 | 1550 |
1547 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1551 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |