Timm =?utf-8?q?B=C3=A4der?= <[email protected]>,
Timm =?utf-8?q?B=C3=A4der?= <[email protected]>,
Timm =?utf-8?q?B=C3=A4der?= <[email protected]>,
Timm =?utf-8?q?B=C3=A4der?= <[email protected]>,
Timm =?utf-8?q?B=C3=A4der?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>


================
@@ -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
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to