Skip to content

Commit

Permalink
[clang][Interp] Merge ByteCodeExprGen and ByteCodeStmtGen (llvm#83683)
Browse files Browse the repository at this point in the history
We currently cannot generate bytecode for statements once we've decided
we want to generate bytecode for expressions. This is a problem for `StmtExpr`, which is
an expression that requires us to evaluate a statement.

Merge ByteCodeExprGen and ByteCodeStmtGen, so we don't do that distinction anymore. Rename them to Compiler at the same time.
  • Loading branch information
tbaederr authored Jun 27, 2024
1 parent 656b8f5 commit 468d668
Show file tree
Hide file tree
Showing 8 changed files with 911 additions and 1,027 deletions.
3 changes: 1 addition & 2 deletions clang/lib/AST/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ add_clang_library(clangAST
FormatString.cpp
InheritViz.cpp
Interp/ByteCodeEmitter.cpp
Interp/ByteCodeExprGen.cpp
Interp/ByteCodeStmtGen.cpp
Interp/Compiler.cpp
Interp/Context.cpp
Interp/Descriptor.cpp
Interp/Disasm.cpp
Expand Down
Loading

0 comments on commit 468d668

Please sign in to comment.