fix NPE in genInlineInstructions

Change-Id: I617ba807af04db956ade4f56608ccf5286958d27