| 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 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1531 | 1531 |
| 1532 // Jump if either of the registers contain a non-smi. | 1532 // Jump if either of the registers contain a non-smi. |
| 1533 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 1533 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
| 1534 // Jump if either of the registers contain a smi. | 1534 // Jump if either of the registers contain a smi. |
| 1535 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1535 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
| 1536 | 1536 |
| 1537 // Abort execution if argument is a smi, enabled via --debug-code. | 1537 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1538 void AssertNotSmi(Register object); | 1538 void AssertNotSmi(Register object); |
| 1539 void AssertSmi(Register object); | 1539 void AssertSmi(Register object); |
| 1540 | 1540 |
| 1541 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1542 void AssertFixedArray(Register object); |
| 1543 |
| 1541 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1544 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1542 void AssertFunction(Register object); | 1545 void AssertFunction(Register object); |
| 1543 | 1546 |
| 1544 // Abort execution if argument is not a JSBoundFunction, | 1547 // Abort execution if argument is not a JSBoundFunction, |
| 1545 // enabled via --debug-code. | 1548 // enabled via --debug-code. |
| 1546 void AssertBoundFunction(Register object); | 1549 void AssertBoundFunction(Register object); |
| 1547 | 1550 |
| 1548 // Abort execution if argument is not a JSGeneratorObject, | 1551 // Abort execution if argument is not a JSGeneratorObject, |
| 1549 // enabled via --debug-code. | 1552 // enabled via --debug-code. |
| 1550 void AssertGeneratorObject(Register object, Register flags); | 1553 void AssertGeneratorObject(Register object, Register flags); |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1811 dd(GetLabelFunction(index)); | 1814 dd(GetLabelFunction(index)); |
| 1812 } | 1815 } |
| 1813 } | 1816 } |
| 1814 | 1817 |
| 1815 #define ACCESS_MASM(masm) masm-> | 1818 #define ACCESS_MASM(masm) masm-> |
| 1816 | 1819 |
| 1817 } // namespace internal | 1820 } // namespace internal |
| 1818 } // namespace v8 | 1821 } // namespace v8 |
| 1819 | 1822 |
| 1820 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1823 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |