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

Message:
PTAL, small omission from 35ff259b6.

Description:
MIPS64: Fix port of Refactor Map::ConstructionCount.

Port 35ff259b6344eed116936372f6861181c6afe922.

BUG=

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

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

Affected files (+3, -3 lines):
  M src/mips64/builtins-mips64.cc


Index: src/mips64/builtins-mips64.cc
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc
index 7259b1806ee918166794b5cdc36ad8cd29dcfc78..8774ddaf418cbfd2526ce6ee2ea051024c1755a2 100644
--- a/src/mips64/builtins-mips64.cc
+++ b/src/mips64/builtins-mips64.cc
@@ -395,9 +395,9 @@ static void Generate_JSConstructStubHelper(MacroAssembler* masm,
         __ CallRuntime(Runtime::kFinalizeInstanceSize, 1);

         __ Pop(a1, a2);
-        // Slack tracking counter is kNoSlackTracking after runtime call.
-        DCHECK(JSFunction::kNoSlackTracking == 0);
-        __ mov(a6, zero_reg);
+ // Slack tracking counter is Map::kSlackTrackingCounterEnd after runtime
+        // call.
+        __ li(t2, Map::kSlackTrackingCounterEnd);

         __ bind(&allocate);
       }


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