Răsfoiți Sursa

- removed unused parameter istypecast in tmos6502reader.BuildOperand

Nikolay Nikolov 1 lună în urmă
părinte
comite
d30408d982
1 a modificat fișierele cu 4 adăugiri și 4 ștergeri
  1. 4 4
      compiler/mos6502/ramos6502asm.pas

+ 4 - 4
compiler/mos6502/ramos6502asm.pas

@@ -107,7 +107,7 @@ Unit ramos6502asm;
         function BuildRefConstExpression(out size:tcgint;startingminus:boolean=false):longint;
         function BuildRefConstExpression(out size:tcgint;startingminus:boolean=false):longint;
         procedure BuildConstantOperand(oper: tmos6502operand);
         procedure BuildConstantOperand(oper: tmos6502operand);
         procedure BuildReference(oper : tmos6502operand);
         procedure BuildReference(oper : tmos6502operand);
-        procedure BuildOperand(oper: tmos6502operand;istypecast:boolean);
+        procedure BuildOperand(oper: tmos6502operand);
         procedure BuildOpCode(instr:TMOS6502Instruction);
         procedure BuildOpCode(instr:TMOS6502Instruction);
         procedure handleopcode;
         procedure handleopcode;
         function Assemble: tlinkedlist;override;
         function Assemble: tlinkedlist;override;
@@ -1238,7 +1238,7 @@ Unit ramos6502asm;
                       oper.hastype:=true;
                       oper.hastype:=true;
                       oper.typesize:=l;
                       oper.typesize:=l;
                       Consume(AS_LPAREN);
                       Consume(AS_LPAREN);
-                      BuildOperand(oper,true);
+                      BuildOperand(oper);
                       Consume(AS_RPAREN);
                       Consume(AS_RPAREN);
                     end
                     end
                    else
                    else
@@ -1706,7 +1706,7 @@ Unit ramos6502asm;
       end;
       end;
 
 
 
 
-    procedure tmos6502reader.BuildOperand(oper: tmos6502operand;istypecast:boolean);
+    procedure tmos6502reader.BuildOperand(oper: tmos6502operand);
 
 
       //procedure AddLabelOperand(hl:tasmlabel);
       //procedure AddLabelOperand(hl:tasmlabel);
       //begin
       //begin
@@ -1973,7 +1973,7 @@ Unit ramos6502asm;
                 Consume(AS_COMMA);
                 Consume(AS_COMMA);
               end;
               end;
             else
             else
-              BuildOperand(instr.Operands[operandnum] as tmos6502operand,false);
+              BuildOperand(instr.Operands[operandnum] as tmos6502operand);
           end;
           end;
         until false;
         until false;
         instr.ops:=operandnum;
         instr.ops:=operandnum;