Skip to content

Commit

Permalink
Fix of performance regression in new LLVM frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkosertic committed Feb 28, 2020
1 parent c705fa1 commit 5119923
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down

0 comments on commit 5119923

Please sign in to comment.