Merge "Compiler changes for bitstring based type checks."
am: be2b613f5a

Change-Id: Iba8a776df8bf56adf64d6df55b9416a7b6a3ee09