mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-18 11:24:01 +00:00
Out of line function.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33641 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -15,6 +15,7 @@
|
||||
#include "llvm/CodeGen/MachineLocation.h"
|
||||
#include "llvm/Target/TargetInstrInfo.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/Target/TargetOptions.h"
|
||||
#include "llvm/DerivedTypes.h"
|
||||
#include "llvm/GlobalVariable.h"
|
||||
#include "llvm/Intrinsics.h"
|
||||
@ -1527,6 +1528,12 @@ void MachineModuleInfo::AnalyzeModule(Module &M) {
|
||||
SetupCompileUnits(M);
|
||||
}
|
||||
|
||||
/// needsFrameInfo - Returns true if we need to gather callee-saved register
|
||||
/// move info for the frame.
|
||||
bool MachineModuleInfo::needsFrameInfo() const {
|
||||
return hasDebugInfo() || ExceptionHandling;
|
||||
}
|
||||
|
||||
/// SetupCompileUnits - Set up the unique vector of compile units.
|
||||
///
|
||||
void MachineModuleInfo::SetupCompileUnits(Module &M) {
|
||||
|
Reference in New Issue
Block a user