Browse Source

cleaned up

constants
Tristan B. V. Kildaire 10 months ago
parent
commit
cd54753359
  1. 6
      source/tlang/compiler/typecheck/core.d

6
source/tlang/compiler/typecheck/core.d

@ -307,9 +307,6 @@ public final class TypeChecker
{
BinaryOperatorExpression binOpExp = cast(BinaryOperatorExpression)statement;
SymbolType binOperator = binOpExp.getOperator();
gprintln("BinOp: "~to!(string)(binOperator), DebugType.ERROR);
/**
@ -344,12 +341,9 @@ public final class TypeChecker
*/
Instruction vRhsInstr = popInstr();
Instruction vLhsInstr = popInstr();
gprintln("BinOP L: "~vLhsInstr.toString(),DebugType.ERROR);
gprintln("BinOP R: "~vRhsInstr.toString(),DebugType.ERROR);
BinOpInstr addInst = new BinOpInstr(vLhsInstr, vRhsInstr, binOperator);
addInstr(addInst);
gprintln("Added binOp compunded instr: "~addInst.toString());
}
/* Function calls */
else if(cast(FunctionCall)statement)

Loading…
Cancel
Save