[PATCH] D141681: [clang][Interp] Fix parameter map when re-visiting function

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 13 05:29:47 PST 2023


tbaeder created this revision.
tbaeder added reviewers: aaron.ballman, erichkeane, tahonermann, shafik.
Herald added a project: All.
tbaeder requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

  'Params' is a member of the ByteCodeEmitter. We only added the
  parameters the first time  we saw the function, so subsequent visits
  didn't work if they had (and used) parameters.
  
  Just do the work everytime we see a function.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141681

Files:
  clang/lib/AST/Interp/ByteCodeEmitter.cpp
  clang/test/AST/Interp/functions.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141681.488969.patch
Type: text/x-patch
Size: 4089 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230113/ec0d0131/attachment.bin>


More information about the cfe-commits mailing list