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 1687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1698 void AssertBoundFunction(Register object); | 1698 void AssertBoundFunction(Register object); |
1699 | 1699 |
1700 // Abort execution if argument is not a JSGeneratorObject, | 1700 // Abort execution if argument is not a JSGeneratorObject, |
1701 // enabled via --debug-code. | 1701 // enabled via --debug-code. |
1702 void AssertGeneratorObject(Register object, Register flags); | 1702 void AssertGeneratorObject(Register object, Register flags); |
1703 | 1703 |
1704 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1704 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1705 // via --debug-code. | 1705 // via --debug-code. |
1706 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1706 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1707 | 1707 |
| 1708 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 1709 void AssertApiCallResult(Register object); |
| 1710 |
1708 // Abort execution if reg is not the root value with the given index, | 1711 // Abort execution if reg is not the root value with the given index, |
1709 // enabled via --debug-code. | 1712 // enabled via --debug-code. |
1710 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1713 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1711 | 1714 |
1712 // --------------------------------------------------------------------------- | 1715 // --------------------------------------------------------------------------- |
1713 // HeapNumber utilities. | 1716 // HeapNumber utilities. |
1714 | 1717 |
1715 void JumpIfNotHeapNumber(Register object, | 1718 void JumpIfNotHeapNumber(Register object, |
1716 Register heap_number_map, | 1719 Register heap_number_map, |
1717 Register scratch, | 1720 Register scratch, |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1969 dd(GetLabelFunction(index)); | 1972 dd(GetLabelFunction(index)); |
1970 } | 1973 } |
1971 } | 1974 } |
1972 | 1975 |
1973 #define ACCESS_MASM(masm) masm-> | 1976 #define ACCESS_MASM(masm) masm-> |
1974 | 1977 |
1975 } // namespace internal | 1978 } // namespace internal |
1976 } // namespace v8 | 1979 } // namespace v8 |
1977 | 1980 |
1978 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1981 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |