mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 18:05:08 +00:00

In a nutshell, when we understand that the expression is a function call (this happens at '(' after an expression), stop parsing expression and start parsing function arguments. This makes `FunctionCallCanonicalizationPass` and the workaround for zero argument function calls obsolete.
25 lines
821 B
CMake
25 lines
821 B
CMake
set(SOURCES
|
|
AST/AST.cpp
|
|
AST/ASTPrinting.cpp
|
|
Compiler/CompilerPass.cpp
|
|
Compiler/ControlFlowGraph.cpp
|
|
Compiler/GenericASTPass.cpp
|
|
Compiler/Passes/CFGBuildingPass.cpp
|
|
Compiler/Passes/CFGSimplificationPass.cpp
|
|
Compiler/Passes/DeadCodeEliminationPass.cpp
|
|
Compiler/Passes/IfBranchMergingPass.cpp
|
|
Compiler/Passes/ReferenceResolvingPass.cpp
|
|
Compiler/Passes/SSABuildingPass.cpp
|
|
Parser/CppASTConverter.cpp
|
|
Parser/Lexer.cpp
|
|
Parser/SpecParser.cpp
|
|
Parser/TextParser.cpp
|
|
Parser/XMLUtils.cpp
|
|
DiagnosticEngine.cpp
|
|
Function.cpp
|
|
main.cpp
|
|
)
|
|
|
|
lagom_tool(JSSpecCompiler LIBS LibCpp LibMain LibXML LibCrypto)
|
|
target_include_directories(JSSpecCompiler PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
|
|
target_compile_options(JSSpecCompiler PRIVATE -Wno-missing-field-initializers)
|