| 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 1646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1657 // Abort execution if argument is not a name, enabled via --debug-code. | 1657 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1658 void AssertName(Register object); | 1658 void AssertName(Register object); |
| 1659 | 1659 |
| 1660 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1660 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1661 void AssertFunction(Register object); | 1661 void AssertFunction(Register object); |
| 1662 | 1662 |
| 1663 // Abort execution if argument is not a JSBoundFunction, | 1663 // Abort execution if argument is not a JSBoundFunction, |
| 1664 // enabled via --debug-code. | 1664 // enabled via --debug-code. |
| 1665 void AssertBoundFunction(Register object); | 1665 void AssertBoundFunction(Register object); |
| 1666 | 1666 |
| 1667 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
| 1668 void AssertReceiver(Register object); |
| 1669 |
| 1667 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1670 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1668 // via --debug-code. | 1671 // via --debug-code. |
| 1669 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1672 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1670 | 1673 |
| 1671 // Abort execution if reg is not the root value with the given index, | 1674 // Abort execution if reg is not the root value with the given index, |
| 1672 // enabled via --debug-code. | 1675 // enabled via --debug-code. |
| 1673 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1676 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
| 1674 | 1677 |
| 1675 // --------------------------------------------------------------------------- | 1678 // --------------------------------------------------------------------------- |
| 1676 // HeapNumber utilities. | 1679 // HeapNumber utilities. |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1957 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1960 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1958 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1961 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1959 #else | 1962 #else |
| 1960 #define ACCESS_MASM(masm) masm-> | 1963 #define ACCESS_MASM(masm) masm-> |
| 1961 #endif | 1964 #endif |
| 1962 | 1965 |
| 1963 } // namespace internal | 1966 } // namespace internal |
| 1964 } // namespace v8 | 1967 } // namespace v8 |
| 1965 | 1968 |
| 1966 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1969 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |