| Index: src/code-stubs.cc
|
| diff --git a/src/code-stubs.cc b/src/code-stubs.cc
|
| index e6209f5ca790d2af06f10d7124554a7e947be0f9..862997941da95b8f68349d55c6bc8a138394d0bb 100644
|
| --- a/src/code-stubs.cc
|
| +++ b/src/code-stubs.cc
|
| @@ -810,15 +810,17 @@ OStream& ArrayConstructorStubBase::BasePrintName(OStream& os, // NOLINT
|
|
|
|
|
| bool ToBooleanStub::UpdateStatus(Handle<Object> object) {
|
| - Types old_types(types_);
|
| - bool to_boolean_value = types_.UpdateStatus(object);
|
| - TraceTransition(old_types, types_);
|
| + Types new_types = types();
|
| + Types old_types = new_types;
|
| + bool to_boolean_value = new_types.UpdateStatus(object);
|
| + TraceTransition(old_types, new_types);
|
| + set_sub_minor_key(TypesBits::update(sub_minor_key(), new_types.ToByte()));
|
| return to_boolean_value;
|
| }
|
|
|
|
|
| void ToBooleanStub::PrintState(OStream& os) const { // NOLINT
|
| - os << types_;
|
| + os << types();
|
| }
|
|
|
|
|
|
|