[all-commits] [llvm/llvm-project] ce96fd: [clang][bytecode] Keep the last chunk in InterpSta...

Timm Baeder via All-commits all-commits at lists.llvm.org
Tue Jun 17 03:38:24 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ce96fdde54c379fa3893f3f07d8233df9e16b9e2
      https://github.com/llvm/llvm-project/commit/ce96fdde54c379fa3893f3f07d8233df9e16b9e2
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-06-17 (Tue, 17 Jun 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/InterpStack.cpp

  Log Message:
  -----------
  [clang][bytecode] Keep the last chunk in InterpStack::clear() (#144487)

We call clear when checking for potential constant expressions, but that
used to free all the chunks. Keep the last one so we don't have to
re-allocate it.



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