diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-04-04 11:45:11 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-04-04 11:45:11 +0000 |
commit | 1fc0da48499fec0a18e790390879edcd41433d31 (patch) | |
tree | ce308572ba209cf89aaf1c77c67650827ca795e2 /llvm/lib/Transforms/Coroutines | |
parent | ac74acdefed9af2751d323bacef7ac47982957e8 (diff) | |
download | bcm5719-llvm-1fc0da48499fec0a18e790390879edcd41433d31.tar.gz bcm5719-llvm-1fc0da48499fec0a18e790390879edcd41433d31.zip |
Make helpers static. NFC.
llvm-svn: 329170
Diffstat (limited to 'llvm/lib/Transforms/Coroutines')
-rw-r--r-- | llvm/lib/Transforms/Coroutines/CoroFrame.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp index 85423b3166c..4d7fe644629 100644 --- a/llvm/lib/Transforms/Coroutines/CoroFrame.cpp +++ b/llvm/lib/Transforms/Coroutines/CoroFrame.cpp @@ -309,6 +309,7 @@ static void dump(StringRef Title, SpillInfo const &Spills) { } #endif +namespace { // We cannot rely solely on natural alignment of a type when building a // coroutine frame and if the alignment specified on the Alloca instruction // differs from the natural alignment of the alloca type we will need to insert @@ -357,6 +358,7 @@ struct PaddingCalculator { return nullptr; } }; +} // namespace // Build a struct that will keep state for an active coroutine. // struct f.frame { |