| Index: src/hydrogen-load-elimination.cc
|
| diff --git a/src/hydrogen-load-elimination.cc b/src/hydrogen-load-elimination.cc
|
| index 3337188f9a46387591b51268453c2023dd291f0f..a1f6f5d27cfbd9d76d35033e9d49a5b9fd1a2a7c 100644
|
| --- a/src/hydrogen-load-elimination.cc
|
| +++ b/src/hydrogen-load-elimination.cc
|
| @@ -273,7 +273,10 @@ class HLoadEliminationTable : public ZoneObject {
|
|
|
| // Kill the next field in case of overlap.
|
| int size = kPointerSize;
|
| - if (access.representation().IsByte()) size = 1;
|
| + if (access.representation().IsInteger8() ||
|
| + access.representation().IsUInteger8()) size = 1;
|
| + if (access.representation().IsInteger16() ||
|
| + access.representation().IsUInteger16()) size = 2;
|
| else if (access.representation().IsInteger32()) size = 4;
|
| int next_field = (offset + size - 1) / kPointerSize;
|
| if (next_field != field) KillFieldInternal(object, next_field, NULL);
|
|
|