[all-commits] [llvm/llvm-project] 58031e: [clang][bytecode] Add `Block::invokeCtorNoMemset()...

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Jun 15 00:54:49 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 58031e519153fdbe637f9f135ac1fbfef6f0e224
      https://github.com/llvm/llvm-project/commit/58031e519153fdbe637f9f135ac1fbfef6f0e224
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2026-06-15 (Mon, 15 Jun 2026)

  Changed paths:
    M clang/lib/AST/ByteCode/DynamicAllocator.cpp
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/InterpBlock.h

  Log Message:
  -----------
  [clang][bytecode] Add `Block::invokeCtorNoMemset()` (#203749)

`invokeCtor()` first memsets the memory to zero, then calls the
descriptor ctor function. The memset is unnecessary if we're already
working with zero-ed memory, like the one we get from
`std::make_unique`.



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