Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index da5281def3d50684f74a9e1609dc6274c4bcfe4f..b3e15905aad4654d41ed8041bac60424694959fb 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -1158,6 +1158,7 @@ void MacroAssembler::SmiToInteger64(Register dst, const Operand& src) { |
void MacroAssembler::SmiTest(Register src) { |
+ AssertSmi(src); |
testq(src, src); |
} |