Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index ff7ef31f4a3bbb858d90fedc4e7fc90bc5bb5922..285259ffcd8e52b252e11d8cc1ab458473c7f1fb 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -107,7 +107,7 @@ Node* CodeAssembler::NumberConstant(double value) { |
} |
Node* CodeAssembler::SmiConstant(Smi* value) { |
- return IntPtrConstant(bit_cast<intptr_t>(value)); |
+ return BitcastWordToTaggedSigned(IntPtrConstant(bit_cast<intptr_t>(value))); |
} |
Node* CodeAssembler::HeapConstant(Handle<HeapObject> object) { |