aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2020-07-01 08:41:14 -0400
committerAlexey Bataev <a.bataev@hotmail.com>2020-07-01 08:41:45 -0400
commite35a5876e4c7f67211dd600a3006bede2ccab25c (patch)
tree2f1dbec1adc48cffef1e2be579189416514263a3 /llvm/lib/IR/ModuleSummaryIndex.cpp
parent669494e9c06c78b51260598bba9d84ba7634a53e (diff)
downloadllvm-e35a5876e4c7f67211dd600a3006bede2ccab25c.zip
llvm-e35a5876e4c7f67211dd600a3006bede2ccab25c.tar.gz
llvm-e35a5876e4c7f67211dd600a3006bede2ccab25c.tar.bz2
Revert "[StackSafety,NFC] Remove unneded constexpr"
This reverts commit 38470baa542bde038340b7d10a0ed2c25fac1bfa because it breaks builds with lld and gold linkers.
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r--llvm/lib/IR/ModuleSummaryIndex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp
index 158369a..91612ea 100644
--- a/llvm/lib/IR/ModuleSummaryIndex.cpp
+++ b/llvm/lib/IR/ModuleSummaryIndex.cpp
@@ -35,6 +35,8 @@ static cl::opt<bool> ImportConstantsWithRefs(
"import-constants-with-refs", cl::init(true), cl::Hidden,
cl::desc("Import constant global variables with references"));
+constexpr uint32_t FunctionSummary::ParamAccess::RangeWidth;
+
FunctionSummary FunctionSummary::ExternalNode =
FunctionSummary::makeDummyFunctionSummary({});