| 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 1458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 | 1469 |
| 1470 // Abort execution if argument is not a string, enabled via --debug-code. | 1470 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1471 void AssertString(Register object); | 1471 void AssertString(Register object); |
| 1472 | 1472 |
| 1473 // Abort execution if argument is not a name, enabled via --debug-code. | 1473 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1474 void AssertName(Register object); | 1474 void AssertName(Register object); |
| 1475 | 1475 |
| 1476 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1476 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
| 1477 void AssertFunction(Register object); | 1477 void AssertFunction(Register object); |
| 1478 | 1478 |
| 1479 // Abort execution if argument is not a JSBoundFunction, |
| 1480 // enabled via --debug-code. |
| 1481 void AssertBoundFunction(Register object); |
| 1482 |
| 1479 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1483 // Abort execution if argument is not undefined or an AllocationSite, enabled |
| 1480 // via --debug-code. | 1484 // via --debug-code. |
| 1481 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1485 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
| 1482 | 1486 |
| 1483 // Abort execution if reg is not the root value with the given index, | 1487 // Abort execution if reg is not the root value with the given index, |
| 1484 // enabled via --debug-code. | 1488 // enabled via --debug-code. |
| 1485 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1489 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
| 1486 | 1490 |
| 1487 // --------------------------------------------------------------------------- | 1491 // --------------------------------------------------------------------------- |
| 1488 // HeapNumber utilities. | 1492 // HeapNumber utilities. |
| (...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1751 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1748 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1752 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1749 #else | 1753 #else |
| 1750 #define ACCESS_MASM(masm) masm-> | 1754 #define ACCESS_MASM(masm) masm-> |
| 1751 #endif | 1755 #endif |
| 1752 | 1756 |
| 1753 } // namespace internal | 1757 } // namespace internal |
| 1754 } // namespace v8 | 1758 } // namespace v8 |
| 1755 | 1759 |
| 1756 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1760 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |