| Index: src/type-info.cc
|
| diff --git a/src/type-info.cc b/src/type-info.cc
|
| index 6e3a4f6b7a483bda6ebb38f08a62e59703060592..68ce25fddd94cf731d8da56c91c0e94cc560fc4c 100644
|
| --- a/src/type-info.cc
|
| +++ b/src/type-info.cc
|
| @@ -377,7 +377,7 @@ void TypeFeedbackOracle::CompareType(TypeFeedbackId id,
|
| Handle<Object> info = GetInfo(id);
|
| if (!info->IsCode()) {
|
| // For some comparisons we don't have ICs, e.g. LiteralCompareTypeof.
|
| - *left_type = *right_type = *combined_type = handle(Type::None(), isolate_);
|
| + *left_type = *right_type = *combined_type = Type::None(isolate_);
|
| return;
|
| }
|
| Handle<Code> code = Handle<Code>::cast(info);
|
| @@ -415,7 +415,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id,
|
| // operations covered by the BinaryOpIC we should always have them.
|
| ASSERT(op < BinaryOpIC::State::FIRST_TOKEN ||
|
| op > BinaryOpIC::State::LAST_TOKEN);
|
| - *left = *right = *result = handle(Type::None(), isolate_);
|
| + *left = *right = *result = Type::None(isolate_);
|
| *fixed_right_arg = Maybe<int>();
|
| return;
|
| }
|
| @@ -433,7 +433,7 @@ void TypeFeedbackOracle::BinaryType(TypeFeedbackId id,
|
|
|
| Handle<Type> TypeFeedbackOracle::ClauseType(TypeFeedbackId id) {
|
| Handle<Object> info = GetInfo(id);
|
| - Handle<Type> result(Type::None(), isolate_);
|
| + Handle<Type> result = Type::None(isolate_);
|
| if (info->IsCode() && Handle<Code>::cast(info)->is_compare_ic_stub()) {
|
| Handle<Code> code = Handle<Code>::cast(info);
|
| CompareIC::State state = ICCompareStub::CompareState(code->stub_info());
|
| @@ -445,7 +445,7 @@ Handle<Type> TypeFeedbackOracle::ClauseType(TypeFeedbackId id) {
|
|
|
| Handle<Type> TypeFeedbackOracle::CountType(TypeFeedbackId id) {
|
| Handle<Object> object = GetInfo(id);
|
| - if (!object->IsCode()) return handle(Type::None(), isolate_);
|
| + if (!object->IsCode()) return Type::None(isolate_);
|
| Handle<Code> code = Handle<Code>::cast(object);
|
| ASSERT_EQ(Code::BINARY_OP_IC, code->kind());
|
| BinaryOpIC::State state(code->extended_extra_ic_state());
|
|
|