| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index e5727c887174086ae23135047d0a5bc8c5d8183e..9d1d5bfd96a59a4023ef81885451005f3327d4d7 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -1175,8 +1175,10 @@ bool JSProxy::HasElementWithHandler(Handle<JSProxy> proxy, uint32_t index) {
|
| double d;
|
| uint32_t u[2];
|
| } c;
|
| - c.u[0] = (*reinterpret_cast<uint32_t*>(FIELD_ADDR_CONST(p, offset)));
|
| - c.u[1] = (*reinterpret_cast<uint32_t*>(FIELD_ADDR_CONST(p, offset + 4)));
|
| + c.u[0] = (*reinterpret_cast<const uint32_t*>(
|
| + FIELD_ADDR_CONST(p, offset)));
|
| + c.u[1] = (*reinterpret_cast<const uint32_t*>(
|
| + FIELD_ADDR_CONST(p, offset + 4)));
|
| return c.d;
|
| }
|
| #define READ_DOUBLE_FIELD(p, offset) read_double_field(p, offset)
|
|
|