| Index: src/x87/macro-assembler-x87.h
|
| diff --git a/src/x87/macro-assembler-x87.h b/src/x87/macro-assembler-x87.h
|
| index 96fe63ce18ea68bde015c24dc1e1d3d0b3daf765..ebddf21b09dd129bb4e0cd302007ed6196892e2f 100644
|
| --- a/src/x87/macro-assembler-x87.h
|
| +++ b/src/x87/macro-assembler-x87.h
|
| @@ -468,7 +468,12 @@ class MacroAssembler: public Assembler {
|
| test(value, Immediate(kSmiTagMask));
|
| j(not_zero, not_smi_label, distance);
|
| }
|
| -
|
| + // Jump if the operand is not a smi.
|
| + inline void JumpIfNotSmi(Operand value, Label* smi_label,
|
| + Label::Distance distance = Label::kFar) {
|
| + test(value, Immediate(kSmiTagMask));
|
| + j(not_zero, smi_label, distance);
|
| + }
|
| // Jump if the value cannot be represented by a smi.
|
| inline void JumpIfNotValidSmiValue(Register value, Register scratch,
|
| Label* on_invalid,
|
|
|