diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java index 4fee0532..96d0ef75 100755 --- a/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/StringLiteral.java @@ -2,6 +2,7 @@ package de.dhbwstuttgart.syntaxtree.statement; import de.dhbwstuttgart.typeinference.Menge; + // ino.end // ino.module.StringLiteral.8653.import import java.util.Hashtable; @@ -107,15 +108,15 @@ public class StringLiteral extends Literal @Override public InstructionList genByteCode(ClassGen cg) { - InstructionList il = new InstructionList(); - InstructionFactory _factory = new InstructionFactory(cg, cg.getConstantPool()); - + InstructionList il = new InstructionList(); + il.append(_factory.ASTORE_1, _factory.createNew(string)); - - + return il; } + + } // ino.end