Index: src/code-stub-assembler.cc |
diff --git a/src/code-stub-assembler.cc b/src/code-stub-assembler.cc |
index 3bf07277044e05fb093777627b32c100556629ad..f341784344732ce983ae38fbc06a2fd534d6546b 100644 |
--- a/src/code-stub-assembler.cc |
+++ b/src/code-stub-assembler.cc |
@@ -1770,7 +1770,7 @@ Node* CodeStubAssembler::StringFromCharCode(Node* code) { |
Node* CodeStubAssembler::BitFieldDecode(Node* word32, uint32_t shift, |
uint32_t mask) { |
return Word32Shr(Word32And(word32, Int32Constant(mask)), |
- Int32Constant(shift)); |
+ static_cast<int>(shift)); |
} |
void CodeStubAssembler::SetCounter(StatsCounter* counter, int value) { |