Просмотр исходного кода

- MIPS: removed allocation of stack/frame pointer registers in prologue, hacks like this are no longer needed since r27104.

git-svn-id: trunk@28505 -
sergei 11 лет назад
Родитель
Сommit
f0496001fb
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      compiler/mips/cgcpu.pas

+ 0 - 4
compiler/mips/cgcpu.pas

@@ -1212,7 +1212,6 @@ var
   largeoffs : boolean;
   largeoffs : boolean;
 begin
 begin
   list.concat(tai_directive.create(asd_ent,current_procinfo.procdef.mangledname));
   list.concat(tai_directive.create(asd_ent,current_procinfo.procdef.mangledname));
-  a_reg_alloc(list,NR_STACK_POINTER_REG);
 
 
   if nostackframe then
   if nostackframe then
     begin
     begin
@@ -1221,9 +1220,6 @@ begin
       exit;
       exit;
     end;
     end;
 
 
-  if (pi_needs_stackframe in current_procinfo.flags) then
-    a_reg_alloc(list,NR_FRAME_POINTER_REG);
-
   helplist:=TAsmList.Create;
   helplist:=TAsmList.Create;
 
 
   reference_reset(href,0);
   reference_reset(href,0);