diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-05-25 01:43:34 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-05-25 01:43:34 +0000 |
| commit | 5582a6a4a525e1ae6bb121ecc2a1f4ca2ab5c998 (patch) | |
| tree | b351ca325aa8775ee8e715f9ed04f1a91ca3e216 /llvm/lib/Transforms | |
| parent | fb3bd7127a768a7ce39ade409e80896a96e1d340 (diff) | |
| download | bcm5719-llvm-5582a6a4a525e1ae6bb121ecc2a1f4ca2ab5c998.tar.gz bcm5719-llvm-5582a6a4a525e1ae6bb121ecc2a1f4ca2ab5c998.zip | |
Reformat.
llvm-svn: 238126
Diffstat (limited to 'llvm/lib/Transforms')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp | 2 | ||||
| -rw-r--r-- | llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp index bebd98a6b06..5d5be7a4bb6 100644 --- a/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp +++ b/llvm/lib/Transforms/Scalar/PlaceSafepoints.cpp @@ -528,7 +528,7 @@ static bool shouldRewriteFunction(Function &F) { const StringRef StatepointExampleName("statepoint-example"); const StringRef CoreCLRName("coreclr"); return (StatepointExampleName == FunctionGCName) || - (CoreCLRName == FunctionGCName); + (CoreCLRName == FunctionGCName); } else return false; } diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp index 83bf415f31d..6cf765a8438 100644 --- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp +++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp @@ -2206,9 +2206,8 @@ static bool shouldRewriteStatepointsIn(Function &F) { const StringRef StatepointExampleName("statepoint-example"); const StringRef CoreCLRName("coreclr"); return (StatepointExampleName == FunctionGCName) || - (CoreCLRName == FunctionGCName); - } - else + (CoreCLRName == FunctionGCName); + } else return false; } |

