From bca3dcce807721286c866e0159798587b6cbb8df Mon Sep 17 00:00:00 2001 From: Mirko Sertic Date: Tue, 12 May 2020 17:02:03 +0200 Subject: [PATCH] LLVM GC must not scan the shadow stack #405 --- .../java/de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java b/core/src/main/java/de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java index 48e591ecd9..72bf630213 100644 --- a/core/src/main/java/de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java +++ b/core/src/main/java/de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java @@ -2268,7 +2268,7 @@ private void write(final StringValue e) { } private void write(final SystemHasStackExpression e) { - target.print("add i32 0, 1"); + target.print("add i32 0, 0"); } private void write(final HeapBaseExpression e) {