Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>,
Timm =?utf-8?q?B=C3=A4der?= <tbae...@redhat.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/84...@github.com>


================
@@ -1912,6 +1929,10 @@ inline bool NoRet(InterpState &S, CodePtr OpPC) {
 
 inline bool NarrowPtr(InterpState &S, CodePtr OpPC) {
   const Pointer &Ptr = S.Stk.pop<Pointer>();
+  if (!S.getLangOpts().CPlusPlus) {
+    S.Stk.push<Pointer>(Ptr);
----------------
tbaederr wrote:

Don't remember why I added that but it's not necessary.

https://github.com/llvm/llvm-project/pull/84159
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to