Index: src/code-stub-assembler.h |
diff --git a/src/code-stub-assembler.h b/src/code-stub-assembler.h |
index 087d6e3a75a6d8b12bf6cb416c731634870f6c88..e453676fefe289b447794e7c41d28b059e7739cf 100644 |
--- a/src/code-stub-assembler.h |
+++ b/src/code-stub-assembler.h |
@@ -135,7 +135,8 @@ class CodeStubAssembler : public compiler::CodeAssembler { |
// Computes a * b for Smi inputs a and b; result is not necessarily a Smi. |
compiler::Node* SmiMul(compiler::Node* a, compiler::Node* b); |
compiler::Node* SmiOr(compiler::Node* a, compiler::Node* b) { |
- return WordOr(a, b); |
+ return BitcastWordToTaggedSigned( |
+ WordOr(BitcastTaggedToWord(a), BitcastTaggedToWord(b))); |
} |
// Allocate an object of the given size. |