From 51199235f704df6eed5e4513a2c93d5d0d4d92de Mon Sep 17 00:00:00 2001 From: Mirko Sertic Date: Fri, 28 Feb 2020 20:06:37 +0100 Subject: [PATCH] Fix of performance regression in new LLVM frontend --- .../de/mirkosertic/bytecoder/backend/llvm/LLVMWriter.java | 6 ------ 1 file changed, 6 deletions(-) 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 b17ecca8b..a9a94053f 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 @@ -553,13 +553,7 @@ private void tempify(final MemorySizeExpression e) { private void tempify(final GetFieldExpression e) { final BytecodeObjectTypeRef theClass = BytecodeObjectTypeRef.fromUtf8Constant(e.getField().getClassIndex().getClassConstant().getConstant()); - final String theClassName = LLVMWriterUtils.toClassName(theClass); - final Value object = e.incomingDataFlows().get(0); - target.print(" call i32 @"); - target.print(theClassName); - target.print(CLASSINITSUFFIX); - target.println("()"); target.print(" %"); target.print(toTempSymbol(e, "exp"));