| Index: lib/CodeGen/TargetInfo.cpp
|
| diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
|
| index f9689affa0f2de7f387d0c8df61c6f140c240795..4fb888a767ba5b7ef977a5d75625d75fced38f03 100644
|
| --- a/lib/CodeGen/TargetInfo.cpp
|
| +++ b/lib/CodeGen/TargetInfo.cpp
|
| @@ -437,6 +437,8 @@ class PNaClTargetCodeGenInfo : public TargetCodeGenInfo {
|
| /// For PNaCl we don't want llvm.pow.* intrinsics to be emitted instead
|
| /// of library function calls.
|
| bool emitIntrinsicForPow() const { return false; }
|
| + bool addAsmMemoryAroundSyncSynchronize() const { return true; } // @LOCALMOD
|
| + bool asmMemoryIsFence() const { return true; } // @LOCALMOD
|
| };
|
|
|
| void PNaClABIInfo::computeInfo(CGFunctionInfo &FI) const {
|
|
|