diff options
Diffstat (limited to 'contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp')
| -rw-r--r-- | contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp | 19 | 
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp b/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp new file mode 100644 index 000000000000..e25d36b57616 --- /dev/null +++ b/contrib/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp @@ -0,0 +1,19 @@ +//===-- ARMMachineFunctionInfo.cpp - ARM machine function info ------------===// +// +//                     The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "ARMMachineFunctionInfo.h" +#include "ARMSubtarget.h" + +using namespace llvm; + +void ARMFunctionInfo::anchor() {} + +ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF) +    : isThumb(MF.getSubtarget<ARMSubtarget>().isThumb()), +      hasThumb2(MF.getSubtarget<ARMSubtarget>().hasThumb2()) {}  | 
