Reviewers: ulan, danno, akos.palfi.imgtec, balazs.kilvady, dusmil.imgtec, gergely.kis.imgtec,

Message:
PTAL.

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

BUG=

Please review this at https://codereview.chromium.org/854073004/

Base URL: https://chromium.googlesource.com/v8/v8.git@master

Affected files (+1, -1 lines):
  M src/ic/mips64/handler-compiler-mips64.cc


Index: src/ic/mips64/handler-compiler-mips64.cc
diff --git a/src/ic/mips64/handler-compiler-mips64.cc b/src/ic/mips64/handler-compiler-mips64.cc index 00f77825bf6bc8a9a5c1392f09b36153033fe01f..d42892bb0f542d9621228e80fd62c5d2fad935be 100644
--- a/src/ic/mips64/handler-compiler-mips64.cc
+++ b/src/ic/mips64/handler-compiler-mips64.cc
@@ -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;


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to