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 1197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1208 void JumpIfNotSmi(Register value, Label* not_smi_label); | 1208 void JumpIfNotSmi(Register value, Label* not_smi_label); |
1209 // Jump if either of the registers contain a non-smi. | 1209 // Jump if either of the registers contain a non-smi. |
1210 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 1210 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
1211 // Jump if either of the registers contain a smi. | 1211 // Jump if either of the registers contain a smi. |
1212 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1212 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
1213 | 1213 |
1214 // Abort execution if argument is a smi, enabled via --debug-code. | 1214 // Abort execution if argument is a smi, enabled via --debug-code. |
1215 void AssertNotSmi(Register object); | 1215 void AssertNotSmi(Register object); |
1216 void AssertSmi(Register object); | 1216 void AssertSmi(Register object); |
1217 | 1217 |
| 1218 // Abort execution if argument is not a FixedArray, enabled via --debug-code. |
| 1219 void AssertFixedArray(Register object); |
| 1220 |
1218 // Abort execution if argument is not a JSFunction, enabled via --debug-code. | 1221 // Abort execution if argument is not a JSFunction, enabled via --debug-code. |
1219 void AssertFunction(Register object); | 1222 void AssertFunction(Register object); |
1220 | 1223 |
1221 // Abort execution if argument is not a JSBoundFunction, | 1224 // Abort execution if argument is not a JSBoundFunction, |
1222 // enabled via --debug-code. | 1225 // enabled via --debug-code. |
1223 void AssertBoundFunction(Register object); | 1226 void AssertBoundFunction(Register object); |
1224 | 1227 |
1225 // Abort execution if argument is not a JSGeneratorObject, | 1228 // Abort execution if argument is not a JSGeneratorObject, |
1226 // enabled via --debug-code. | 1229 // enabled via --debug-code. |
1227 void AssertGeneratorObject(Register object, Register suspend_flags); | 1230 void AssertGeneratorObject(Register object, Register suspend_flags); |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 inline MemOperand NativeContextMemOperand() { | 1437 inline MemOperand NativeContextMemOperand() { |
1435 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); | 1438 return ContextMemOperand(cp, Context::NATIVE_CONTEXT_INDEX); |
1436 } | 1439 } |
1437 | 1440 |
1438 #define ACCESS_MASM(masm) masm-> | 1441 #define ACCESS_MASM(masm) masm-> |
1439 | 1442 |
1440 } // namespace internal | 1443 } // namespace internal |
1441 } // namespace v8 | 1444 } // namespace v8 |
1442 | 1445 |
1443 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1446 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
OLD | NEW |