This fixes a bug in my r236491: on nvptx, functions without prologue