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/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
(...skipping 1574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1585 | 1585 |
1586 // Abort execution if argument is not a string, enabled via --debug-code. | 1586 // Abort execution if argument is not a string, enabled via --debug-code. |
1587 void AssertString(Register object); | 1587 void AssertString(Register object); |
1588 | 1588 |
1589 // Abort execution if argument is not a name, enabled via --debug-code. | 1589 // Abort execution if argument is not a name, enabled via --debug-code. |
1590 void AssertName(Register object); | 1590 void AssertName(Register object); |
1591 | 1591 |
1592 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1592 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1593 void AssertFunction(Register object); | 1593 void AssertFunction(Register object); |
1594 | 1594 |
| 1595 // Abort execution if argument is not a JSBoundFunction, |
| 1596 // enabled via --debug-code. |
| 1597 void AssertBoundFunction(Register object); |
| 1598 |
1595 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1599 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1596 // via --debug-code. | 1600 // via --debug-code. |
1597 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1601 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1598 | 1602 |
1599 // Abort execution if reg is not the root value with the given index, | 1603 // Abort execution if reg is not the root value with the given index, |
1600 // enabled via --debug-code. | 1604 // enabled via --debug-code. |
1601 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1605 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1602 | 1606 |
1603 // --------------------------------------------------------------------------- | 1607 // --------------------------------------------------------------------------- |
1604 // HeapNumber utilities. | 1608 // HeapNumber utilities. |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1841 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1845 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1842 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1846 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1843 #else | 1847 #else |
1844 #define ACCESS_MASM(masm) masm-> | 1848 #define ACCESS_MASM(masm) masm-> |
1845 #endif | 1849 #endif |
1846 | 1850 |
1847 } // namespace internal | 1851 } // namespace internal |
1848 } // namespace v8 | 1852 } // namespace v8 |
1849 | 1853 |
1850 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1854 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |