]> git.gag.com Git - fw/sdcc/blobdiff - src/pic16/ralloc.c
* src/pic16/device.h: removed unused field PIC16_device.sfrRange,
[fw/sdcc] / src / pic16 / ralloc.c
index 07e4d1df0de0730084d20affa86bb6afc97716d9..1f175201cdcad50eef48bd398fa8d5b450ba33b1 100644 (file)
@@ -380,7 +380,7 @@ regs* newReg(int type, short pc_type, int rIdx, char *name, unsigned size, int a
         if(name)
                 dReg->name = Safe_strdup(name);
         else {
-          if(xinst && pc_type == PO_GPR_TEMP) {
+          if(pic16_options.xinst && pc_type == PO_GPR_TEMP) {
             sprintf(buffer,"0x%02x", dReg->rIdx);
           } else {
             sprintf(buffer,"r0x%02x", dReg->rIdx);
@@ -1332,7 +1332,7 @@ void pic16_writeUsedRegs(FILE *of)
   pic16_dump_isection(of, rel_idataSymSet, 0);
   pic16_dump_isection(of, fix_idataSymSet, 1);
 
-  if(!xinst) {
+  if(!pic16_options.xinst) {
     /* dump internal registers */
     pic16_dump_int_registers(of, pic16_int_regs);
   }