Skip to content

Commit f0b4f62

Browse files
author
Meghana Gupta
committed
Add support for LdFld/StFld/InitFld/InlineeEnd in PathDepBranchFolding
Run it in prepass
1 parent 0d1e26c commit f0b4f62

14 files changed

+1904
-1367
lines changed

RegenAllByteCodeNoBuild.cmd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ setlocal
2828
call GenByteCode.cmd
2929
call GenByteCode.cmd -nojit
3030
popd
31+
pushd %_reporoot%\lib\Runtime\Library\JsBuiltIn
32+
call GenByteCode.cmd
33+
call GenByteCode.cmd -nojit
34+
popd
3135
endlocal

lib/Backend/BackwardPass.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1144,10 +1144,6 @@ BackwardPass::MergeSuccBlocksInfo(BasicBlock * block)
11441144
}
11451145
}
11461146
block->upwardExposedUses = upwardExposedUses;
1147-
if (this->tag == Js::BackwardPhase)
1148-
{
1149-
block->successorBlockUses = upwardExposedUses ? upwardExposedUses->CopyNew(this->globOpt->alloc) : nullptr;
1150-
}
11511147
block->upwardExposedFields = upwardExposedFields;
11521148
block->typesNeedingKnownObjectLayout = typesNeedingKnownObjectLayout;
11531149
block->byteCodeUpwardExposedUsed = byteCodeUpwardExposedUsed;

0 commit comments

Comments
 (0)