Merge "Check for null profile in ShouldCompileBasedOnProfile"
am: 8eaa843c62

Change-Id: Ia73f20a2df1859e6bd91ad121962c75989a1c774