Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 29fbb3c8648a8fff2fbbdcba11ffefee7be3b826..e3940dad649cb1de5b44bcb29431495d1afc58d5 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -268,7 +268,8 @@ MaybeHandle<Code> CodeStub::GetCode(Isolate* isolate, uint32_t key) { |
void BinaryOpICStub::GenerateAheadOfTime(Isolate* isolate) { |
// Generate the uninitialized versions of the stub. |
for (int op = Token::BIT_OR; op <= Token::MOD; ++op) { |
- BinaryOpICStub stub(isolate, static_cast<Token::Value>(op)); |
+ BinaryOpICStub stub(isolate, static_cast<Token::Value>(op), |
+ LanguageMode::SLOPPY); |
stub.GetCode(); |
} |