MIPS: Load from PropertyCells using PropertyCell::kValueOffset rather than Cell::kValueOffset
Port dda2bd6f4f
BUG=
Review URL: https://codereview.chromium.org/1015613003
Cr-Commit-Position: refs/heads/master@{#27282}
This commit is contained in:
parent
4ba84f0b7c
commit
f5f7a39100
@ -718,7 +718,7 @@ Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal(
|
||||
Register result = StoreDescriptor::ValueRegister();
|
||||
Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell);
|
||||
__ LoadWeakValue(result, weak_cell, &miss);
|
||||
__ lw(result, FieldMemOperand(result, Cell::kValueOffset));
|
||||
__ lw(result, FieldMemOperand(result, PropertyCell::kValueOffset));
|
||||
|
||||
// Check for deleted property if property can actually be deleted.
|
||||
if (is_configurable) {
|
||||
|
@ -719,7 +719,7 @@ Handle<Code> NamedLoadHandlerCompiler::CompileLoadGlobal(
|
||||
Register result = StoreDescriptor::ValueRegister();
|
||||
Handle<WeakCell> weak_cell = factory()->NewWeakCell(cell);
|
||||
__ LoadWeakValue(result, weak_cell, &miss);
|
||||
__ ld(result, FieldMemOperand(result, Cell::kValueOffset));
|
||||
__ ld(result, FieldMemOperand(result, PropertyCell::kValueOffset));
|
||||
|
||||
// Check for deleted property if property can actually be deleted.
|
||||
if (is_configurable) {
|
||||
|
Loading…
Reference in New Issue
Block a user