Create used variable even if they are defined into dead code

Bug: 7398661
Change-Id: I3b4f965608ea438d3a0c97718533fc6e52b77253
Merge "Create used variable even if they are defined into dead code" into ub-jack