1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:07:45 +00:00

JSSpecCompiler: Add bare-bones DCE pass

Right now the only dead code it eliminates is the unused phi nodes.
This commit is contained in:
Dan Klishch 2023-08-29 15:47:39 -04:00 committed by Andrew Kaster
parent 162c334508
commit 5338cdd153
6 changed files with 286 additions and 0 deletions

View file

@ -6,6 +6,7 @@ set(SOURCES
Compiler/GenericASTPass.cpp
Compiler/Passes/CFGBuildingPass.cpp
Compiler/Passes/CFGSimplificationPass.cpp
Compiler/Passes/DeadCodeEliminationPass.cpp
Compiler/Passes/FunctionCallCanonicalizationPass.cpp
Compiler/Passes/IfBranchMergingPass.cpp
Compiler/Passes/ReferenceResolvingPass.cpp