Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 896ffad054e41f0a9a93319d86b19db0b2ae398b..f1b918b4fd75a5136b795b5e7398c4e9c510215d 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -418,7 +418,7 @@ bool ToBooleanStub::Types::CanBeUndetectable() const { |
void FastElementsConversionStub::Generate(MacroAssembler* masm) { |
if (to_ == FAST_ELEMENTS) { |
if (from_ == FAST_SMI_ONLY_ELEMENTS) { |
- GenerateSmiOnlyToObject(masm); |
+ GenerateSmiOnlyToObject(masm, strict_mode_); |
} else if (from_ == FAST_DOUBLE_ELEMENTS) { |
GenerateDoubleToObject(masm, strict_mode_); |
} else { |