2
0
Эх сурвалжийг харах

* fixed the debug output, generated by -dDEBUG_INSTRUCTIONREGISTERDEPENDENCIES
for x86 instructions, entered via inline assembler, using intel syntax
(the low level optimizer isn't normally run on them, so it doesn't matter that
InstructionLoadsFromReg and similar functions don't work on them, but with
-dDEBUG_INSTRUCTIONREGISTERDEPENDENCIES it is much more convenient for
debugging purposes to have correct data for them, because you can enter
instructions manually and see how these functions behave)

git-svn-id: trunk@36065 -

nickysn 8 жил өмнө
parent
commit
c096b1fe6b
1 өөрчлөгдсөн 3 нэмэгдсэн , 0 устгасан
  1. 3 0
      compiler/aoptobj.pas

+ 3 - 0
compiler/aoptobj.pas

@@ -1591,6 +1591,9 @@ Unit AoptObj;
           begin
             if p.typ=ait_instruction then
               begin
+{$ifdef x86}
+                taicpu(p).SetOperandOrder(op_att);
+{$endif x86}
                 commentstr:='Instruction reads';
                 registers_found:=false;
                 for ri in tregisterindex do