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_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
(...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1539 // Abort execution if argument is not a name, enabled via --debug-code. | 1539 // Abort execution if argument is not a name, enabled via --debug-code. |
1540 void AssertName(Register object); | 1540 void AssertName(Register object); |
1541 | 1541 |
1542 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1542 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1543 void AssertFunction(Register object); | 1543 void AssertFunction(Register object); |
1544 | 1544 |
1545 // Abort execution if argument is not a JSBoundFunction, | 1545 // Abort execution if argument is not a JSBoundFunction, |
1546 // enabled via --debug-code. | 1546 // enabled via --debug-code. |
1547 void AssertBoundFunction(Register object); | 1547 void AssertBoundFunction(Register object); |
1548 | 1548 |
| 1549 // Abort execution if argument is not a JSGeneratorObject, |
| 1550 // enabled via --debug-code. |
| 1551 void AssertGeneratorObject(Register object); |
| 1552 |
1549 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 1553 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
1550 void AssertReceiver(Register object); | 1554 void AssertReceiver(Register object); |
1551 | 1555 |
1552 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1556 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1553 // via --debug-code. | 1557 // via --debug-code. |
1554 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1558 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1555 | 1559 |
1556 // Abort execution if reg is not the root value with the given index, | 1560 // Abort execution if reg is not the root value with the given index, |
1557 // enabled via --debug-code. | 1561 // enabled via --debug-code. |
1558 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1562 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1840 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1844 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1841 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1845 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1842 #else | 1846 #else |
1843 #define ACCESS_MASM(masm) masm-> | 1847 #define ACCESS_MASM(masm) masm-> |
1844 #endif | 1848 #endif |
1845 | 1849 |
1846 } // namespace internal | 1850 } // namespace internal |
1847 } // namespace v8 | 1851 } // namespace v8 |
1848 | 1852 |
1849 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1853 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |