Index: src/IceTargetLoweringARM32.h |
diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h |
index de144c9737b71f93b8239951d8be68d2f2e0f75f..7e7e520bd67ac0225f2832514231b640f650bd2a 100644 |
--- a/src/IceTargetLoweringARM32.h |
+++ b/src/IceTargetLoweringARM32.h |
@@ -55,6 +55,7 @@ class TargetARM32 : public TargetLowering { |
TargetARM32 &operator=(const TargetARM32 &) = delete; |
public: |
+ static void staticInit(); |
// TODO(jvoung): return a unique_ptr. |
static TargetARM32 *create(Cfg *Func) { return new TargetARM32(Func); } |
@@ -551,9 +552,9 @@ protected: |
bool MaybeLeafFunc = true; |
size_t SpillAreaSizeBytes = 0; |
// TODO(jpp): std::array instead of array. |
- llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; |
- llvm::SmallBitVector RegisterAliases[RegARM32::Reg_NUM]; |
- llvm::SmallBitVector ScratchRegs; |
+ static llvm::SmallBitVector TypeToRegisterSet[IceType_NUM]; |
+ static llvm::SmallBitVector RegisterAliases[RegARM32::Reg_NUM]; |
+ static llvm::SmallBitVector ScratchRegs; |
llvm::SmallBitVector RegsUsed; |
VarList PhysicalRegisters[IceType_NUM]; |