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}
This commit is contained in:
Balazs Kilvady 2015-01-16 12:22:07 +01:00
parent 835cc463a8
commit d3557c7536

View File

@ -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;