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 1674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1685 | 1685 |
1686 // Jump if either of the registers contain a non-smi. | 1686 // Jump if either of the registers contain a non-smi. |
1687 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 1687 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
1688 // Jump if either of the registers contain a smi. | 1688 // Jump if either of the registers contain a smi. |
1689 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1689 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
1690 | 1690 |
1691 // Abort execution if argument is a smi, enabled via --debug-code. | 1691 // Abort execution if argument is a smi, enabled via --debug-code. |
1692 void AssertNotSmi(Register object); | 1692 void AssertNotSmi(Register object); |
1693 void AssertSmi(Register object); | 1693 void AssertSmi(Register object); |
1694 | 1694 |
| 1695 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1696 void AssertFixedArray(Register object); |
| 1697 |
1695 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1698 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1696 void AssertFunction(Register object); | 1699 void AssertFunction(Register object); |
1697 | 1700 |
1698 // Abort execution if argument is not a JSBoundFunction, | 1701 // Abort execution if argument is not a JSBoundFunction, |
1699 // enabled via --debug-code. | 1702 // enabled via --debug-code. |
1700 void AssertBoundFunction(Register object); | 1703 void AssertBoundFunction(Register object); |
1701 | 1704 |
1702 // Abort execution if argument is not a JSGeneratorObject, | 1705 // Abort execution if argument is not a JSGeneratorObject, |
1703 // enabled via --debug-code. | 1706 // enabled via --debug-code. |
1704 void AssertGeneratorObject(Register object, Register flags); | 1707 void AssertGeneratorObject(Register object, Register flags); |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1971 dd(GetLabelFunction(index)); | 1974 dd(GetLabelFunction(index)); |
1972 } | 1975 } |
1973 } | 1976 } |
1974 | 1977 |
1975 #define ACCESS_MASM(masm) masm-> | 1978 #define ACCESS_MASM(masm) masm-> |
1976 | 1979 |
1977 } // namespace internal | 1980 } // namespace internal |
1978 } // namespace v8 | 1981 } // namespace v8 |
1979 | 1982 |
1980 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1983 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |