File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -3038,13 +3038,11 @@ GlobOpt::OptDst(
3038
3038
else if (dstVal)
3039
3039
{
3040
3040
opnd->SetValueType(dstVal->GetValueInfo()->Type());
3041
- #if 0
3042
- if(currentBlock->loop &&
3041
+ if (currentBlock->loop &&
3043
3042
!IsLoopPrePass() &&
3044
3043
(instr->m_opcode == Js::OpCode::Ld_A || instr->m_opcode == Js::OpCode::Ld_I4) &&
3045
3044
instr->GetSrc1()->IsRegOpnd() &&
3046
- !func->IsJitInDebugMode() &&
3047
- this->GetJITFunctionBody()->IsCoroutine())
3045
+ !func->IsJitInDebugMode())
3048
3046
{
3049
3047
// Look for the following patterns:
3050
3048
//
@@ -3108,7 +3106,6 @@ GlobOpt::OptDst(
3108
3106
this->SetSymStoreDirect(dstVal->GetValueInfo(), dstVarSym);
3109
3107
} while(false);
3110
3108
}
3111
- #endif
3112
3109
}
3113
3110
3114
3111
this->ValueNumberObjectType(opnd, instr);
You can’t perform that action at this time.
0 commit comments