[all-commits] [llvm/llvm-project] 5b0935: [clang][bytecode] Reintroduce Pointer::elem() (#14...

Timm Baeder via All-commits all-commits at lists.llvm.org
Sun Jul 20 02:00:11 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b0935f1f05c7aa9d315463c17ff85e7d846d237
      https://github.com/llvm/llvm-project/commit/5b0935f1f05c7aa9d315463c17ff85e7d846d237
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-07-20 (Sun, 20 Jul 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Context.cpp
    M clang/lib/AST/ByteCode/EvaluationResult.cpp
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/InterpBuiltin.cpp
    M clang/lib/AST/ByteCode/Pointer.cpp
    M clang/lib/AST/ByteCode/Pointer.h
    M clang/lib/AST/ByteCode/Program.cpp

  Log Message:
  -----------
  [clang][bytecode] Reintroduce Pointer::elem() (#149693)

As a way of writing atIndex(I).deref<T>(), which creates an intermediate
Pointer, which in turn adds (and removes) that pointer from the pointer
list of the Block. This way we can avoid that.



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