OSDN Git Service

Change the PointerType api for creating pointer types. The old functionality of Point...
authorChristopher Lamb <christopher.lamb@gmail.com>
Mon, 17 Dec 2007 01:12:55 +0000 (01:12 +0000)
committerChristopher Lamb <christopher.lamb@gmail.com>
Mon, 17 Dec 2007 01:12:55 +0000 (01:12 +0000)
commit43ad6b3e0d6ada51e9b23aab3e061187f1f5710c
treeaccb30ee96c29fc9e1021feaa850a435b60f81fc
parent303dae993aba2474a23753ed66737b8c38cc97a0
Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45082 91177308-0d34-0410-b5e6-96231b3b80d8
32 files changed:
examples/BrainF/BrainF.cpp
examples/BrainF/BrainFDriver.cpp
include/llvm/DerivedTypes.h
lib/AsmParser/llvmAsmParser.y
lib/Bitcode/Reader/BitcodeReader.cpp
lib/CodeGen/IntrinsicLowering.cpp
lib/CodeGen/MachineModuleInfo.cpp
lib/ExecutionEngine/ExecutionEngine.cpp
lib/Target/MSIL/MSILWriter.cpp
lib/Transforms/IPO/GlobalOpt.cpp
lib/Transforms/IPO/LowerSetJmp.cpp
lib/Transforms/IPO/RaiseAllocations.cpp
lib/Transforms/IPO/SimplifyLibCalls.cpp
lib/Transforms/Instrumentation/ProfilingUtils.cpp
lib/Transforms/Scalar/InstructionCombining.cpp
lib/Transforms/Scalar/LowerGC.cpp
lib/Transforms/Utils/CodeExtractor.cpp
lib/Transforms/Utils/InlineFunction.cpp
lib/Transforms/Utils/LowerAllocations.cpp
lib/Transforms/Utils/LowerInvoke.cpp
lib/VMCore/ConstantFold.cpp
lib/VMCore/Constants.cpp
lib/VMCore/Core.cpp
lib/VMCore/Function.cpp
lib/VMCore/InlineAsm.cpp
lib/VMCore/Instructions.cpp
lib/VMCore/Module.cpp
lib/VMCore/Verifier.cpp
tools/bugpoint/Miscompilation.cpp
tools/llvm-upgrade/UpgradeParser.y
tools/llvm2cpp/CppWriter.cpp
utils/TableGen/IntrinsicEmitter.cpp