| 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/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 1288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1299 // Jump if either of the registers contain a non-smi. | 1299 // Jump if either of the registers contain a non-smi. |
| 1300 inline void JumpIfNotSmi(Register value, Label* not_smi_label) { | 1300 inline void JumpIfNotSmi(Register value, Label* not_smi_label) { |
| 1301 tst(value, Operand(kSmiTagMask)); | 1301 tst(value, Operand(kSmiTagMask)); |
| 1302 b(ne, not_smi_label); | 1302 b(ne, not_smi_label); |
| 1303 } | 1303 } |
| 1304 // Jump if either of the registers contain a non-smi. | 1304 // Jump if either of the registers contain a non-smi. |
| 1305 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); | 1305 void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi); |
| 1306 // Jump if either of the registers contain a smi. | 1306 // Jump if either of the registers contain a smi. |
| 1307 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); | 1307 void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi); |
| 1308 | 1308 |
| 1309 // Abort execution if argument is a number, enabled via --debug-code. |
| 1310 void AssertNotNumber(Register object); |
| 1311 |
| 1309 // Abort execution if argument is a smi, enabled via --debug-code. | 1312 // Abort execution if argument is a smi, enabled via --debug-code. |
| 1310 void AssertNotSmi(Register object); | 1313 void AssertNotSmi(Register object); |
| 1311 void AssertSmi(Register object); | 1314 void AssertSmi(Register object); |
| 1312 | 1315 |
| 1313 // Abort execution if argument is not a string, enabled via --debug-code. | 1316 // Abort execution if argument is not a string, enabled via --debug-code. |
| 1314 void AssertString(Register object); | 1317 void AssertString(Register object); |
| 1315 | 1318 |
| 1316 // Abort execution if argument is not a name, enabled via --debug-code. | 1319 // Abort execution if argument is not a name, enabled via --debug-code. |
| 1317 void AssertName(Register object); | 1320 void AssertName(Register object); |
| 1318 | 1321 |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1573 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1576 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1574 #else | 1577 #else |
| 1575 #define ACCESS_MASM(masm) masm-> | 1578 #define ACCESS_MASM(masm) masm-> |
| 1576 #endif | 1579 #endif |
| 1577 | 1580 |
| 1578 | 1581 |
| 1579 } // namespace internal | 1582 } // namespace internal |
| 1580 } // namespace v8 | 1583 } // namespace v8 |
| 1581 | 1584 |
| 1582 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ | 1585 #endif // V8_ARM_MACRO_ASSEMBLER_ARM_H_ |
| OLD | NEW |