Index: src/IceTargetLoweringARM32.cpp |
diff --git a/src/IceTargetLoweringARM32.cpp b/src/IceTargetLoweringARM32.cpp |
index 06269027d04bde8c5ed795ba990a2eb6bc205f0d..68e8c6830da8e622c0c0c6cb35e55fe2380f6a8b 100644 |
--- a/src/IceTargetLoweringARM32.cpp |
+++ b/src/IceTargetLoweringARM32.cpp |
@@ -274,7 +274,7 @@ std::array<uint32_t, NumVec128Args> Vec128ArgInitializer; |
} // end of anonymous namespace |
TargetARM32::TargetARM32(Cfg *Func) |
- : TargetLowering(Func), NeedSandboxing(Ctx->getFlags().getUseSandboxing()), |
+ : TargetLowering(Func), NeedSandboxing(SandboxingType == ST_NaCl), |
CPUFeatures(Func->getContext()->getFlags()) {} |
void TargetARM32::staticInit(GlobalContext *Ctx) { |