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 1696 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 // Abort execution if argument is not a name, enabled via --debug-code. | 1707 // Abort execution if argument is not a name, enabled via --debug-code. |
1708 void AssertName(Register object); | 1708 void AssertName(Register object); |
1709 | 1709 |
1710 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1710 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1711 void AssertFunction(Register object); | 1711 void AssertFunction(Register object); |
1712 | 1712 |
1713 // Abort execution if argument is not a JSBoundFunction, | 1713 // Abort execution if argument is not a JSBoundFunction, |
1714 // enabled via --debug-code. | 1714 // enabled via --debug-code. |
1715 void AssertBoundFunction(Register object); | 1715 void AssertBoundFunction(Register object); |
1716 | 1716 |
| 1717 // Abort execution if argument is not a JSGeneratorObject, |
| 1718 // enabled via --debug-code. |
| 1719 void AssertGeneratorObject(Register object); |
| 1720 |
1717 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. | 1721 // Abort execution if argument is not a JSReceiver, enabled via --debug-code. |
1718 void AssertReceiver(Register object); | 1722 void AssertReceiver(Register object); |
1719 | 1723 |
1720 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1724 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1721 // via --debug-code. | 1725 // via --debug-code. |
1722 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1726 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1723 | 1727 |
1724 // Abort execution if reg is not the root value with the given index, | 1728 // Abort execution if reg is not the root value with the given index, |
1725 // enabled via --debug-code. | 1729 // enabled via --debug-code. |
1726 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1730 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2007 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 2011 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
2008 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 2012 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
2009 #else | 2013 #else |
2010 #define ACCESS_MASM(masm) masm-> | 2014 #define ACCESS_MASM(masm) masm-> |
2011 #endif | 2015 #endif |
2012 | 2016 |
2013 } // namespace internal | 2017 } // namespace internal |
2014 } // namespace v8 | 2018 } // namespace v8 |
2015 | 2019 |
2016 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 2020 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |