In most cases when an instruction or function call clobbers fp and/or bp register, we can fix it by save/restore the clobbered register. But we still can't handle it when an invoked function clobbers fp and/or bp according to its calling convention. This patch detects this case and reports error instead of silently generating wrong code.
13 KiB
13 KiB