Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index c60af1d46713f01d9dd0c4cc89feaf413fbd82ac..c2d58018f8662f719b3d30e74275214287eb6d1a 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -116,7 +116,8 @@ static CallDescriptor::Flags FlagsForNode(Node* node) { |
void JSGenericLowering::ReplaceWithCompareIC(Node* node, Token::Value token) { |
- Callable callable = CodeFactory::CompareIC(isolate(), token); |
+ Callable callable = |
+ CodeFactory::CompareIC(isolate(), token, OpParameter<LanguageMode>(node)); |
CallDescriptor* desc_compare = Linkage::GetStubCallDescriptor( |
isolate(), zone(), callable.descriptor(), 0, |
CallDescriptor::kPatchableCallSiteWithNop | FlagsForNode(node), |