OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_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 1334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1345 | 1345 |
1346 // Abort execution if argument is not a name, enabled via --debug-code. | 1346 // Abort execution if argument is not a name, enabled via --debug-code. |
1347 void AssertName(Register object); | 1347 void AssertName(Register object); |
1348 | 1348 |
1349 void AssertFunction(Register object); | 1349 void AssertFunction(Register object); |
1350 | 1350 |
1351 // Abort execution if argument is not a JSBoundFunction, | 1351 // Abort execution if argument is not a JSBoundFunction, |
1352 // enabled via --debug-code. | 1352 // enabled via --debug-code. |
1353 void AssertBoundFunction(Register object); | 1353 void AssertBoundFunction(Register object); |
1354 | 1354 |
| 1355 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 1356 void AssertReceiver(Register object); |
| 1357 |
1355 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1358 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1356 // via --debug-code. | 1359 // via --debug-code. |
1357 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1360 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1358 | 1361 |
1359 // Abort execution if reg is not the root value with the given index, | 1362 // Abort execution if reg is not the root value with the given index, |
1360 // enabled via --debug-code. | 1363 // enabled via --debug-code. |
1361 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1364 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1362 | 1365 |
1363 // --------------------------------------------------------------------------- | 1366 // --------------------------------------------------------------------------- |
1364 // HeapNumber utilities | 1367 // HeapNumber utilities |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1607 #define ACCESS_MASM(masm) \ | 1610 #define ACCESS_MASM(masm) \ |
1608 masm->stop(__FILE_LINE__); \ | 1611 masm->stop(__FILE_LINE__); \ |
1609 masm-> | 1612 masm-> |
1610 #else | 1613 #else |
1611 #define ACCESS_MASM(masm) masm-> | 1614 #define ACCESS_MASM(masm) masm-> |
1612 #endif | 1615 #endif |
1613 } // namespace internal | 1616 } // namespace internal |
1614 } // namespace v8 | 1617 } // namespace v8 |
1615 | 1618 |
1616 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1619 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
OLD | NEW |