-/* Check whether the given reg is shared amongst all .o files of a project.
- * This is true for the pseudo stack and WSAVE, SSAVE and PSAVE. */
-static int
-is_shared_address (int addr)
-{
- return ((addr > Gstack_base_addr - 18)
- && (addr <= Gstack_base_addr));
-}
-
-int
-pic14_is_shared (regs *reg)
-{
- if (!reg) return 0;
- return is_shared_address (reg->address);
-}
-