mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Reinitialize the ivars in the subtarget.
When we're recalculating the feature set of the subtarget, we need to have the ivars in their initial state. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175320 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -201,8 +201,10 @@ public:
|
||||
|
||||
/// \brief Reset the features for the X86 target.
|
||||
virtual void resetSubtargetFeatures(const MachineFunction *MF);
|
||||
private:
|
||||
void initializeEnvironment();
|
||||
void resetSubtargetFeatures(StringRef CPU, StringRef FS);
|
||||
|
||||
public:
|
||||
/// Is this x86_64? (disregarding specific ABI / programming model)
|
||||
bool is64Bit() const {
|
||||
return In64BitMode;
|
||||
|
Reference in New Issue
Block a user