Commit d3557c75 authored by Balazs Kilvady's avatar Balazs Kilvady

MIPS64: fix Make map check in NamedStoreHandlerCompiler::GenerateFieldTypeChecks weak.

BUG=
R=balazs.kilvady@imgtec.com, ulan@chromium.org

Review URL: https://codereview.chromium.org/854073004

Cr-Commit-Position: refs/heads/master@{#26099}
parent 835cc463
......@@ -382,8 +382,8 @@ void NamedStoreHandlerCompiler::GenerateFieldTypeChecks(HeapType* field_type,
Label do_store;
while (true) {
// Compare map directly within the Branch() functions.
it.Advance();
__ GetWeakValue(scratch, Map::WeakCellForMap(it.Current()));
it.Advance();
if (it.Done()) {
__ Branch(miss_label, ne, map_reg, Operand(scratch));
break;
......
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