[all-commits] [llvm/llvm-project] 468d66: [clang][Interp] Merge ByteCodeExprGen and ByteCode...

Timm Baeder via All-commits all-commits at lists.llvm.org
Thu Jun 27 05:44:01 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 468d668c5c4031366ae38804927b450f9faf409c
      https://github.com/llvm/llvm-project/commit/468d668c5c4031366ae38804927b450f9faf409c
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

  Changed paths:
    M clang/lib/AST/CMakeLists.txt
    R clang/lib/AST/Interp/ByteCodeExprGen.cpp
    R clang/lib/AST/Interp/ByteCodeExprGen.h
    R clang/lib/AST/Interp/ByteCodeStmtGen.cpp
    R clang/lib/AST/Interp/ByteCodeStmtGen.h
    A clang/lib/AST/Interp/Compiler.cpp
    A clang/lib/AST/Interp/Compiler.h
    M clang/lib/AST/Interp/Context.cpp
    M clang/lib/AST/Interp/EvalEmitter.h
    M clang/lib/AST/Interp/Program.cpp

  Log Message:
  -----------
  [clang][Interp] Merge ByteCodeExprGen and ByteCodeStmtGen (#83683)

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.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list