Commit a43764e1 authored by jyan's avatar jyan Committed by Commit bot

[compiler] Fix AccessBuilder::ForNameHashField

HashField is a 32-bit field.

R=bmeurer@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com, mbrandy@us.ibm.com, bjaideep@ca.ibm.com
BUG=

Review-Url: https://codereview.chromium.org/2117403002
Cr-Commit-Position: refs/heads/master@{#37557}
parent 00c51b99
......@@ -369,9 +369,9 @@ FieldAccess AccessBuilder::ForMapPrototype() {
// static
FieldAccess AccessBuilder::ForNameHashField() {
FieldAccess access = {
kTaggedBase, Name::kHashFieldOffset, Handle<Name>(),
Type::Internal(), MachineType::Pointer(), kNoWriteBarrier};
FieldAccess access = {kTaggedBase, Name::kHashFieldOffset,
Handle<Name>(), Type::Internal(),
MachineType::Uint32(), kNoWriteBarrier};
return access;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment