[all-commits] [llvm/llvm-project] 46f2b3: [clang][bytecode][NFC] Remove instance pointer fro...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Sep 5 01:30:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46f2b35a98ec53dbf5999c92bace40555abe0d9d
      https://github.com/llvm/llvm-project/commit/46f2b35a98ec53dbf5999c92bace40555abe0d9d
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/Compiler.cpp
    M clang/lib/AST/ByteCode/Compiler.h
    M clang/lib/AST/ByteCode/Descriptor.cpp
    M clang/lib/AST/ByteCode/Record.cpp
    M clang/lib/AST/ByteCode/Record.h

  Log Message:
  -----------
  [clang][bytecode][NFC] Remove instance pointer from emitDestruction (#157040)

We only call this when we just pushed a new pointer to the stack, so try
to save the folling PopPtr op by removing the pointer inside
emitDestruction directly, e.g. by letting the Call op just remove 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