* device/include/mcs51/c8051f410.h: new SiLabs mcu
[fw/sdcc] / src / pic / gen.c
index 9bd3fc3f12aa7c84053f36ac514aebb04a5557e4..7370a3bace7d2812b1c364c66efc2f0431355aa1 100644 (file)
@@ -2766,7 +2766,7 @@ static void genPcall (iCode *ic)
        */
        emitpcode(POC_CALL,popGetLabel(albl->key));
        pcop = popGetLabel(blbl->key);
-       emitpcode(POC_PAGESEL,popGetWithString(pcop->name,0)); /* Must restore PCLATH before goto, without destroying W */
+       emitpcode(POC_PAGESEL,pcop); /* Must restore PCLATH before goto, without destroying W */
        emitpcode(POC_GOTO,pcop);
        emitpLabel(albl->key);