Buggy code:
public abstract class AssemblyWriter extends ASTScanner implements Pass { protected final PrintStream printStream ; public AssemblyWriter ( PrintStream printStream ) { } public void runOn ( SourceFile sourceFile ) throws ACCError { } protected int commentIndent = 0 ; protected void indentComment ( ) { } protected void unindentComment ( ) { } protected FunctionDecl currentFunction ; protected int branchLabelCount = 1 ; protected boolean needAddress ; public boolean debug = false ; public void visitIntegerConstant ( IntegerConstant node ) { } public void visitCharConstant ( CharConstant node ) { } public void visitIdentifier ( Identifier node ) throws ACCError { } public void visitSourceFile ( SourceFile node ) throws ACCError { } public void visitFunctionDecl ( FunctionDecl node ) throws ACCError { } public void visitIncludeDecl ( IncludeDecl node ) { } public void visitDataDecl ( DataDecl node ) throws ACCError { } public void visitConstDecl ( ConstDecl node ) { } public void visitVarDecl ( VarDecl node ) throws ACCError { } public void visitIfStatement ( IfStatement node ) throws ACCError { } public void visitWhileStatement ( WhileStatement node ) throws ACCError { } public void visitExpressionStatement ( ExpressionStatement node ) throws ACCError { } public void visitReturnStatement ( ReturnStatement node ) throws ACCError { } public void visitBlockStatement ( BlockStatement node ) throws ACCError { } public void visitIndexedExpression ( IndexedExpression node ) throws ACCError { } public void visitCallExpression ( CallExpression node ) throws ACCError { } private void emitCallToFunctionDecl ( FunctionDecl functionDecl , List < Expression > args ) throws ACCError { } private void emitCallToConstant ( String addr ) { } private void emitIndirectCall ( Expression node ) throws ACCError { needAddress = false ; scan ( node ) ; <START_BUG> adjustSize ( 2 , node . size , false ) ; <END_BUG> restoreRegisters ( ) ; emitComment ( "function<seq2seq4repair_space>call" ) ; emitAbsoluteInstruction ( "JSR" , "ACC.INDIRECT.CALL" ) ; saveRegisters ( ) ; } public void visitRegisterExpression ( RegisterExpression node ) throws ACCError { } public void visitSetExpression ( SetExpression node ) throws ACCError { } public void visitBinopExpression ( BinopExpression node ) throws ACCError { } public void visitUnopExpression ( UnopExpression node ) throws ACCError { } public void visitParensExpression ( ParensExpression node ) throws ACCError { } public void printStatus ( String s ) { } protected String getLabel ( ) { } private void computeStackSlotsFor ( FunctionDecl node ) throws ACCError { } private AssemblyWriter . SavedRegs savedRegs = new AssemblyWriter . SavedRegs ( ) ; private class SavedRegs extends ASTScanner implements FunctionPass { FunctionDecl fn ; public void runOn ( FunctionDecl node ) throws ACCError { } public void visitRegisterExpression ( RegisterExpression node ) { } } protected void pushSize ( int size ) { } protected void adjustSize ( int targetSize , int stackSize , boolean signed ) { } protected void assign ( int targetSize ) { } protected void pushVarAddr ( VarDecl node ) { } protected void restoreRegisters ( ) { } protected void saveRegisters ( ) { } protected void emitLine ( ) { } protected void emit ( String s ) { } protected void emit ( char ch ) { } protected abstract String addrString ( int addr ) { } protected abstract void emitInstruction ( String s ) { } protected abstract void emitAbsoluteInstruction ( String mnemonic , int addr ) { } protected abstract void emitAbsoluteInstruction ( String mnemonic , String label ) { } protected abstract void emitImmediateInstruction ( String mnemonic , String imm , boolean high ) { } protected abstract void emitImmediateInstruction ( String mnemonic , int imm ) { } protected void emitIndirectYInstruction ( String mnemonic , int addr ) { } protected abstract void emitIndirectYInstruction ( String mnemonic , String addr ) { } protected abstract void emitIndirectXInstruction ( String mnemonic , int addr ) { } protected abstract void emitIndexedInstruction ( String mnemonic , int addr , String reg ) { } protected abstract void emitAbsoluteXInstruction ( String mnemonic , String addr ) { } protected abstract void emitComment ( String comment ) { } protected void emitComment ( Object o ) { } protected abstract void emitSeparatorComment ( ) { } protected void emitTODO ( Object obj ) { } protected void emitLabel ( String label ) { } protected abstract void emitAsData ( NumericConstant c ) { } protected abstract void emitStringTerminator ( ) { } protected abstract void emitAsData ( NumericConstant c , int sizeBound ) { } protected abstract void emitBlockStorage ( int nbytes ) { } protected abstract void emitStringConstant ( StringConstant sc ) { } protected abstract String labelAsString ( String label ) { } No newline ; at end ; of file ; }

Fix:
adjustSize ( 2 , node . size , node . isSigned ) ;