| Index: lib/CodeGen/TargetInfo.cpp
|
| diff --git a/lib/CodeGen/TargetInfo.cpp b/lib/CodeGen/TargetInfo.cpp
|
| index fc8e4646e0aad267d991e948d94cfdcf14156091..e37648eaba62eeb6bfbca9299314b1ae638d97d7 100644
|
| --- a/lib/CodeGen/TargetInfo.cpp
|
| +++ b/lib/CodeGen/TargetInfo.cpp
|
| @@ -448,6 +448,9 @@ class PNaClTargetCodeGenInfo : public TargetCodeGenInfo {
|
| public:
|
| PNaClTargetCodeGenInfo(CodeGen::CodeGenTypes &CGT)
|
| : TargetCodeGenInfo(new PNaClABIInfo(CGT)) {}
|
| +
|
| + bool addAsmMemoryAroundSyncSynchronize() const { return true; } // @LOCALMOD
|
| + bool asmMemoryIsFence() const { return true; } // @LOCALMOD
|
| };
|
|
|
| void PNaClABIInfo::computeInfo(CGFunctionInfo &FI) const {
|
|
|