Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index d38c6f1a3c2df3f89db496c69a6e1f3b741771b8..432a6bc5fcd63fe08b81bb60ea30c91747a2218e 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -8897,7 +8897,7 @@ HInstruction* HOptimizedGraphBuilder::BuildBinaryOperation( |
HValue* context = environment()->LookupContext(); |
Handle<Type> left_type = expr->left()->lower_type(); |
Handle<Type> right_type = expr->right()->lower_type(); |
- Handle<Type> result_type = expr->lower_type(); |
+ Handle<Type> result_type = expr->result_type(); |
Maybe<int> fixed_right_arg = expr->fixed_right_arg(); |
Representation left_rep = ToRepresentation(left_type); |
Representation right_rep = ToRepresentation(right_type); |