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 1529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 void AssertBoundFunction(Register object); | 1540 void AssertBoundFunction(Register object); |
1541 | 1541 |
1542 // Abort execution if argument is not a JSGeneratorObject, | 1542 // Abort execution if argument is not a JSGeneratorObject, |
1543 // enabled via --debug-code. | 1543 // enabled via --debug-code. |
1544 void AssertGeneratorObject(Register object, Register flags); | 1544 void AssertGeneratorObject(Register object, Register flags); |
1545 | 1545 |
1546 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1546 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1547 // via --debug-code. | 1547 // via --debug-code. |
1548 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1548 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1549 | 1549 |
| 1550 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 1551 void AssertApiCallResult(Register object); |
| 1552 |
1550 // Abort execution if reg is not the root value with the given index, | 1553 // Abort execution if reg is not the root value with the given index, |
1551 // enabled via --debug-code. | 1554 // enabled via --debug-code. |
1552 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1555 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1553 | 1556 |
1554 // --------------------------------------------------------------------------- | 1557 // --------------------------------------------------------------------------- |
1555 // HeapNumber utilities. | 1558 // HeapNumber utilities. |
1556 | 1559 |
1557 void JumpIfNotHeapNumber(Register object, | 1560 void JumpIfNotHeapNumber(Register object, |
1558 Register heap_number_map, | 1561 Register heap_number_map, |
1559 Register scratch, | 1562 Register scratch, |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1805 dd(GetLabelFunction(index)); | 1808 dd(GetLabelFunction(index)); |
1806 } | 1809 } |
1807 } | 1810 } |
1808 | 1811 |
1809 #define ACCESS_MASM(masm) masm-> | 1812 #define ACCESS_MASM(masm) masm-> |
1810 | 1813 |
1811 } // namespace internal | 1814 } // namespace internal |
1812 } // namespace v8 | 1815 } // namespace v8 |
1813 | 1816 |
1814 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1817 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |