Index: src/mips64/builtins-mips64.cc |
diff --git a/src/mips64/builtins-mips64.cc b/src/mips64/builtins-mips64.cc |
index 7259b1806ee918166794b5cdc36ad8cd29dcfc78..c95ff3078533c95a407006ceb856c10033588830 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(a6, Map::kSlackTrackingCounterEnd); |
__ bind(&allocate); |
} |