Index: src/type-info.cc |
diff --git a/src/type-info.cc b/src/type-info.cc |
index f445544a6d23190ed951d194bf9b039fa9d90c32..6e3a4f6b7a483bda6ebb38f08a62e59703060592 100644 |
--- a/src/type-info.cc |
+++ b/src/type-info.cc |
@@ -407,6 +407,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id, |
Handle<Type>* left, |
Handle<Type>* right, |
Handle<Type>* result, |
+ Maybe<int>* fixed_right_arg, |
Token::Value op) { |
Handle<Object> object = GetInfo(id); |
if (!object->IsCode()) { |
@@ -415,6 +416,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id, |
ASSERT(op < BinaryOpIC::State::FIRST_TOKEN || |
op > BinaryOpIC::State::LAST_TOKEN); |
*left = *right = *result = handle(Type::None(), isolate_); |
+ *fixed_right_arg = Maybe<int>(); |
return; |
} |
Handle<Code> code = Handle<Code>::cast(object); |
@@ -425,6 +427,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id, |
*left = state.GetLeftType(isolate()); |
*right = state.GetRightType(isolate()); |
*result = state.GetResultType(isolate()); |
+ *fixed_right_arg = state.fixed_right_arg(); |
} |