mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Restore some "small section" support code, reverting my patch from r76936.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -66,8 +66,8 @@ namespace llvm {
|
||||
//===--------------------------------------------------------------------===//
|
||||
// TargetLowering Implementation
|
||||
//===--------------------------------------------------------------------===//
|
||||
class MipsTargetLowering : public TargetLowering
|
||||
{
|
||||
|
||||
class MipsTargetLowering : public TargetLowering {
|
||||
public:
|
||||
|
||||
explicit MipsTargetLowering(MipsTargetMachine &TM);
|
||||
@@ -88,6 +88,9 @@ namespace llvm {
|
||||
// Subtarget Info
|
||||
const MipsSubtarget *Subtarget;
|
||||
|
||||
bool IsGlobalInSmallSection(GlobalValue *GV);
|
||||
bool IsInSmallSection(unsigned Size);
|
||||
|
||||
// Lower Operand helpers
|
||||
SDValue LowerCallResult(SDValue Chain, SDValue InFlag,
|
||||
unsigned CallConv, bool isVarArg,
|
||||
|
Reference in New Issue
Block a user