[all-commits] [llvm/llvm-project] f35498: [clang][bytecode] Stack-allocate bottom function f...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri Jan 31 11:09:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3549814f8a2e14b61ebe05b94cd216008633fa5
      https://github.com/llvm/llvm-project/commit/f3549814f8a2e14b61ebe05b94cd216008633fa5
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-01-31 (Fri, 31 Jan 2025)

  Changed paths:
    M clang/lib/AST/ByteCode/EvalEmitter.cpp
    M clang/lib/AST/ByteCode/EvalEmitter.h
    M clang/lib/AST/ByteCode/Interp.h
    M clang/lib/AST/ByteCode/InterpFrame.cpp
    M clang/lib/AST/ByteCode/InterpFrame.h
    M clang/lib/AST/ByteCode/InterpState.cpp

  Log Message:
  -----------
  [clang][bytecode] Stack-allocate bottom function frame (#125253)

Instead of heap-allocating it. This is similar to what the current
interpeter does. In C, we have no function calls, so the extra heap
allocation never makes sense.



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