Index: test/cctest/compiler/test-code-assembler.cc |
diff --git a/test/cctest/compiler/test-code-assembler.cc b/test/cctest/compiler/test-code-assembler.cc |
index 9e0d488264b9e5c3f8fadd72114007f8c7950703..d9bb9346f59a8768381943f55929b2c80b9e22b1 100644 |
--- a/test/cctest/compiler/test-code-assembler.cc |
+++ b/test/cctest/compiler/test-code-assembler.cc |
@@ -21,7 +21,7 @@ Node* SmiTag(CodeAssemblerTester& m, Node* value) { |
Smi::IsValid(constant_value)) { |
return m.SmiConstant(Smi::FromInt(constant_value)); |
} |
- return m.WordShl(value, m.SmiShiftBitsConstant()); |
+ return m.WordShl(value, m.IntPtrConstant(kSmiShiftSize + kSmiTagSize)); |
} |
Node* UndefinedConstant(CodeAssemblerTester& m) { |