| Index: runtime/vm/simulator_dbc.cc
|
| diff --git a/runtime/vm/simulator_dbc.cc b/runtime/vm/simulator_dbc.cc
|
| index a85f26d7cf5f3f0078645e224c7cf2c80d91cec7..9f1a5d68858ccb26babf33b6a1d7403d532695d1 100644
|
| --- a/runtime/vm/simulator_dbc.cc
|
| +++ b/runtime/vm/simulator_dbc.cc
|
| @@ -2965,7 +2965,7 @@ RawObject* Simulator::Call(const Code& code,
|
| if (LIKELY(start != 0)) {
|
| const intptr_t cid = kArrayCid;
|
| uword tags = 0;
|
| - if (LIKELY(instance_size < RawObject::SizeTag::kMaxSizeTag)) {
|
| + if (LIKELY(instance_size <= RawObject::SizeTag::kMaxSizeTag)) {
|
| tags = RawObject::SizeTag::update(instance_size, tags);
|
| }
|
| tags = RawObject::ClassIdTag::update(cid, tags);
|
|
|