Skip to content

Commit 6828dbf

Browse files
committed
Do not do Probe stack with dispose in the backend.
1 parent f56f5aa commit 6828dbf

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

lib/Backend/BackwardPass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@ BackwardPass::ProcessLoopCollectionPass(BasicBlock *const lastBlock)
14611461
// About to make a recursive call, so when jitting in the foreground, probe the stack
14621462
if(!func->IsBackgroundJIT())
14631463
{
1464-
PROBE_STACK(func->GetScriptContext(), Js::Constants::MinStackDefault);
1464+
PROBE_STACK_NO_DISPOSE(func->GetScriptContext(), Js::Constants::MinStackDefault);
14651465
}
14661466
ProcessLoopCollectionPass(block);
14671467

lib/Backend/FlowGraph.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ FlowGraph::BuildLoop(BasicBlock *headBlock, BasicBlock *tailBlock, Loop *parentL
12451245
// This function is recursive, so when jitting in the foreground, probe the stack
12461246
if(!func->IsBackgroundJIT())
12471247
{
1248-
PROBE_STACK(func->GetScriptContext(), Js::Constants::MinStackDefault);
1248+
PROBE_STACK_NO_DISPOSE(func->GetScriptContext(), Js::Constants::MinStackDefault);
12491249
}
12501250

12511251
if (tailBlock->number < headBlock->number)

lib/Backend/GlobOptBlockData.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,7 +1392,7 @@ GlobOptBlockData::FindFuturePropertyValue(PropertySym *const propertySym)
13921392
// About to make a recursive call, so when jitting in the foreground, probe the stack
13931393
if(!this->globOpt->func->IsBackgroundJIT())
13941394
{
1395-
PROBE_STACK(this->globOpt->func->GetScriptContext(), Js::Constants::MinStackDefault);
1395+
PROBE_STACK_NO_DISPOSE(this->globOpt->func->GetScriptContext(), Js::Constants::MinStackDefault);
13961396
}
13971397
objectValue = FindFuturePropertyValue(objectTransferSrcSym->AsPropertySym());
13981398
}

lib/Backend/Inline.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1189,7 +1189,7 @@ Inline::InlinePolymorphicFunction(IR::Instr *callInstr, const FunctionJITTimeInf
11891189
// This function is recursive, so when jitting in the foreground, probe the stack
11901190
if (!this->topFunc->IsBackgroundJIT())
11911191
{
1192-
PROBE_STACK(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
1192+
PROBE_STACK_NO_DISPOSE(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
11931193
}
11941194

11951195
IR::RegOpnd * returnValueOpnd;
@@ -3657,7 +3657,7 @@ Inline::InlineGetterSetterFunction(IR::Instr *accessorInstr, const FunctionJITTi
36573657
// This function is recursive, so when jitting in the foreground, probe the stack
36583658
if (!this->topFunc->IsBackgroundJIT())
36593659
{
3660-
PROBE_STACK(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
3660+
PROBE_STACK_NO_DISPOSE(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
36613661
}
36623662

36633663
*pIsInlined = true;
@@ -3962,7 +3962,7 @@ Inline::InlineScriptFunction(IR::Instr *callInstr, const FunctionJITTimeInfo *co
39623962
// This function is recursive, so when jitting in the foreground, probe the stack
39633963
if (!this->topFunc->IsBackgroundJIT())
39643964
{
3965-
PROBE_STACK(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
3965+
PROBE_STACK_NO_DISPOSE(this->topFunc->GetScriptContext(), Js::Constants::MinStackDefault);
39663966
}
39673967

39683968
IR::Instr *instrNext = callInstr->m_next;

0 commit comments

Comments
 (0)