Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index 77890f6fbf8f3aca926641450cbe885d14277ecd..7bfff3ea641f79d157e450f311cfc0388d248c52 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -11209,7 +11209,8 @@ HControlInstruction* HOptimizedGraphBuilder::BuildCompareInstruction( |
return result; |
} else { |
if (combined_rep.IsTagged() || combined_rep.IsNone()) { |
- HCompareGeneric* result = Add<HCompareGeneric>(left, right, op); |
+ HCompareGeneric* result = |
+ Add<HCompareGeneric>(left, right, op, function_language_mode()); |
result->set_observed_input_representation(1, left_rep); |
result->set_observed_input_representation(2, right_rep); |
if (result->HasObservableSideEffects()) { |