OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_PPC_MACRO_ASSEMBLER_PPC_H_ | 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/bailout-reason.h" | 9 #include "src/bailout-reason.h" |
10 #include "src/frames.h" | 10 #include "src/frames.h" |
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 | 1305 |
1306 void AssertFunction(Register object); | 1306 void AssertFunction(Register object); |
1307 | 1307 |
1308 // Abort execution if argument is not a JSBoundFunction, | 1308 // Abort execution if argument is not a JSBoundFunction, |
1309 // enabled via --debug-code. | 1309 // enabled via --debug-code. |
1310 void AssertBoundFunction(Register object); | 1310 void AssertBoundFunction(Register object); |
1311 | 1311 |
1312 // Abort execution if argument is not a JSGeneratorObject, | 1312 // Abort execution if argument is not a JSGeneratorObject, |
1313 // enabled via --debug-code. | 1313 // enabled via --debug-code. |
1314 void AssertGeneratorObject(Register object); | 1314 void AssertGeneratorObject(Register object); |
| 1315 void AssertAsyncGeneratorObject(Register object); |
1315 | 1316 |
1316 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1317 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1317 // via --debug-code. | 1318 // via --debug-code. |
1318 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1319 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1319 | 1320 |
1320 // Abort execution if reg is not the root value with the given index, | 1321 // Abort execution if reg is not the root value with the given index, |
1321 // enabled via --debug-code. | 1322 // enabled via --debug-code. |
1322 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1323 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1323 | 1324 |
1324 // --------------------------------------------------------------------------- | 1325 // --------------------------------------------------------------------------- |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 inline MemOperand NativeContextMemOperand() { | 1541 inline MemOperand NativeContextMemOperand() { |
1541 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1542 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1542 } | 1543 } |
1543 | 1544 |
1544 #define ACCESS_MASM(masm) masm-> | 1545 #define ACCESS_MASM(masm) masm-> |
1545 | 1546 |
1546 } // namespace internal | 1547 } // namespace internal |
1547 } // namespace v8 | 1548 } // namespace v8 |
1548 | 1549 |
1549 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ | 1550 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ |
OLD | NEW |