diff --git a/js/src/jstracer.cpp b/js/src/jstracer.cpp index b5d28b6407f5..51f8ae9113e7 100644 --- a/js/src/jstracer.cpp +++ b/js/src/jstracer.cpp @@ -3250,7 +3250,7 @@ class SlotMap : public SlotVisitorBase * before recording began. Caller can go through slot list and mark * such slots as undemotable. */ - JS_REQUIRES_STACK TypeConsensus + TypeConsensus checkTypes(TreeInfo* ti) { if (ti->typeMap.length() < slotOffset || length() != ti->typeMap.length() - slotOffset) @@ -3276,7 +3276,7 @@ class SlotMap : public SlotVisitorBase slots.add(SlotInfo(vp, isNumber(*vp) && isPromoteInt(mRecorder.get(vp)))); } - JS_REQUIRES_STACK void + void markUndemotes() { for (unsigned i = 0; i < length(); i++) { @@ -3285,7 +3285,7 @@ class SlotMap : public SlotVisitorBase } } - JS_REQUIRES_STACK virtual void + virtual void adjustTypes() { for (unsigned i = 0; i < length(); i++) { @@ -3368,7 +3368,7 @@ class DefaultSlotMap : public SlotMap JS_REQUIRES_STACK TypeConsensus TraceRecorder::selfTypeStability(SlotMap& slotMap) { - debug_only_printf(LC_TMTracer, "Checking type stability against self=%p\n", (void*)fragment); + debug_only_printf(LC_TMTracer, "Checking type stability against self=%p\n", fragment); TypeConsensus consensus = slotMap.checkTypes(treeInfo); /* Best case: loop jumps back to its own header */ @@ -3397,7 +3397,7 @@ TraceRecorder::peerTypeStability(SlotMap& slotMap, VMFragment** pPeer) for (; peer != NULL; peer = (VMFragment*)peer->peer) { if (!peer->vmprivate || peer == fragment) continue; - debug_only_printf(LC_TMTracer, "Checking type stability against peer=%p\n", (void*)peer); + debug_only_printf(LC_TMTracer, "Checking type stability against peer=%p\n", peer); TypeConsensus consensus = slotMap.checkTypes((TreeInfo*)peer->vmprivate); if (consensus == TypeConsensus_Okay) { *pPeer = peer;