Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 39b1768055bcddce097df648184136a1e05fa216..efb2d3c9da34fc8e9d8206823f0d56e889c35bdb 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -1570,6 +1570,11 @@ void MacroAssembler::JumpIfNotSmi(Register src, |
j(NegateCondition(smi), on_not_smi, near_jump); |
} |
+void MacroAssembler::JumpIfNotSmi(Operand src, Label* on_not_smi, |
+ Label::Distance near_jump) { |
+ Condition smi = CheckSmi(src); |
+ j(NegateCondition(smi), on_not_smi, near_jump); |
+} |
void MacroAssembler::JumpUnlessNonNegativeSmi( |
Register src, Label* on_not_smi_or_negative, |