diff options
author | dim <dim@FreeBSD.org> | 2012-12-22 14:58:30 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-12-22 14:58:30 +0000 |
commit | 0ac5f94c68a3d8fbd1380dbba26d891ea7816b5e (patch) | |
tree | c074bb56c422dea536a85cc2d80fd620bb6af08e /lib/Target/Mips/MipsJITInfo.h | |
parent | 6de2c08bc400b4aca9fb46684e8bdb56eed9b09f (diff) | |
download | FreeBSD-src-0ac5f94c68a3d8fbd1380dbba26d891ea7816b5e.zip FreeBSD-src-0ac5f94c68a3d8fbd1380dbba26d891ea7816b5e.tar.gz |
Vendor import of llvm tags/RELEASE_32/final r170710 (effectively, 3.2
release):
http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_32/final@170710
Diffstat (limited to 'lib/Target/Mips/MipsJITInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsJITInfo.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/Mips/MipsJITInfo.h b/lib/Target/Mips/MipsJITInfo.h index 637a318..ecda310 100644 --- a/lib/Target/Mips/MipsJITInfo.h +++ b/lib/Target/Mips/MipsJITInfo.h @@ -26,10 +26,11 @@ class MipsTargetMachine; class MipsJITInfo : public TargetJITInfo { bool IsPIC; + bool IsLittleEndian; public: explicit MipsJITInfo() : - IsPIC(false) {} + IsPIC(false), IsLittleEndian(true) {} /// replaceMachineCodeForFunction - Make it so that calling the function /// whose machine code is at OLD turns into a call to NEW, perhaps by @@ -58,8 +59,10 @@ class MipsJITInfo : public TargetJITInfo { unsigned NumRelocs, unsigned char *GOTBase); /// Initialize - Initialize internal stage for the function being JITted. - void Initialize(const MachineFunction &MF, bool isPIC) { + void Initialize(const MachineFunction &MF, bool isPIC, + bool isLittleEndian) { IsPIC = isPIC; + IsLittleEndian = isLittleEndian; } }; |