Browse Source

* no longer create new asmsymbols in a_jmp(). Very strange that the jmp
peephole optimization worked for ppc...

git-svn-id: trunk@1079 -

Jonas Maebe 20 years ago
parent
commit
9d877e055b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/powerpc/cgcpu.pas

+ 1 - 1
compiler/powerpc/cgcpu.pas

@@ -2289,7 +2289,7 @@ const
         p: taicpu;
         p: taicpu;
 
 
       begin
       begin
-        p := taicpu.op_sym(op,objectlibrary.newasmsymbol(l.name,AB_EXTERNAL,AT_FUNCTION));
+        p := taicpu.op_sym(op,l);
         if op <> A_B then
         if op <> A_B then
           create_cond_norm(c,crval,p.condition);
           create_cond_norm(c,crval,p.condition);
         p.is_jmp := true;
         p.is_jmp := true;