| Index: src/arm/macro-assembler-arm.h
|
| ===================================================================
|
| --- src/arm/macro-assembler-arm.h (revision 6471)
|
| +++ src/arm/macro-assembler-arm.h (working copy)
|
| @@ -545,16 +545,6 @@
|
| }
|
|
|
|
|
| - inline void BranchOnSmi(Register value, Label* smi_label) {
|
| - tst(value, Operand(kSmiTagMask));
|
| - b(eq, smi_label);
|
| - }
|
| -
|
| - inline void BranchOnNotSmi(Register value, Label* not_smi_label) {
|
| - tst(value, Operand(kSmiTagMask));
|
| - b(ne, not_smi_label);
|
| - }
|
| -
|
| // Generates code for reporting that an illegal operation has
|
| // occurred.
|
| void IllegalOperation(int num_arguments);
|
| @@ -740,7 +730,17 @@
|
| mov(dst, Operand(src, ASR, kSmiTagSize));
|
| }
|
|
|
| + // Jump the register contains a smi.
|
| + inline void JumpIfSmi(Register value, Label* smi_label) {
|
| + tst(value, Operand(kSmiTagMask));
|
| + b(eq, smi_label);
|
| + }
|
| // Jump if either of the registers contain a non-smi.
|
| + inline void JumpIfNotSmi(Register value, Label* not_smi_label) {
|
| + tst(value, Operand(kSmiTagMask));
|
| + b(ne, not_smi_label);
|
| + }
|
| + // Jump if either of the registers contain a non-smi.
|
| void JumpIfNotBothSmi(Register reg1, Register reg2, Label* on_not_both_smi);
|
| // Jump if either of the registers contain a smi.
|
| void JumpIfEitherSmi(Register reg1, Register reg2, Label* on_either_smi);
|
|
|