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_ARM_MACRO_ASSEMBLER_ARM_H_ | 5 #ifndef V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 6 #define V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
7 | 7 |
8 #include "src/arm/assembler-arm.h" | 8 #include "src/arm/assembler-arm.h" |
9 #include "src/assembler.h" | 9 #include "src/assembler.h" |
10 #include "src/bailout-reason.h" | 10 #include "src/bailout-reason.h" |
(...skipping 1213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1224 void AssertBoundFunction(Register object); | 1224 void AssertBoundFunction(Register object); |
1225 | 1225 |
1226 // Abort execution if argument is not a JSGeneratorObject, | 1226 // Abort execution if argument is not a JSGeneratorObject, |
1227 // enabled via --debug-code. | 1227 // enabled via --debug-code. |
1228 void AssertGeneratorObject(Register object, Register suspend_flags); | 1228 void AssertGeneratorObject(Register object, Register suspend_flags); |
1229 | 1229 |
1230 // Abort execution if argument is not undefined or an AllocationSite, enabled | 1230 // Abort execution if argument is not undefined or an AllocationSite, enabled |
1231 // via --debug-code. | 1231 // via --debug-code. |
1232 void AssertUndefinedOrAllocationSite(Register object, Register scratch); | 1232 void AssertUndefinedOrAllocationSite(Register object, Register scratch); |
1233 | 1233 |
| 1234 // Abort if argument is not a valid API call result, enabled via --debug-code. |
| 1235 void AssertApiCallResult(Register object); |
| 1236 |
1234 // Abort execution if reg is not the root value with the given index, | 1237 // Abort execution if reg is not the root value with the given index, |
1235 // enabled via --debug-code. | 1238 // enabled via --debug-code. |
1236 void AssertIsRoot(Register reg, Heap::RootListIndex index); | 1239 void AssertIsRoot(Register reg, Heap::RootListIndex index); |
1237 | 1240 |
1238 // --------------------------------------------------------------------------- | 1241 // --------------------------------------------------------------------------- |
1239 // HeapNumber utilities | 1242 // HeapNumber utilities |
1240 | 1243 |
1241 void JumpIfNotHeapNumber(Register object, | 1244 void JumpIfNotHeapNumber(Register object, |
1242 Register heap_number_map, | 1245 Register heap_number_map, |
1243 Register scratch, | 1246 Register scratch, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1435 inline MemOperand NativeContextMemOperand() { | 1438 inline MemOperand NativeContextMemOperand() { |
1436 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1439 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1437 } | 1440 } |
1438 | 1441 |
1439 #define ACCESS_MASM(masm) masm-> | 1442 #define ACCESS_MASM(masm) masm-> |
1440 | 1443 |
1441 } // namespace internal | 1444 } // namespace internal |
1442 } // namespace v8 | 1445 } // namespace v8 |
1443 | 1446 |
1444 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1447 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |