revert codes for LLVM 3.4