summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-17 18:42:17 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-17 18:42:17 +0000
commitc9058ca9e0da946ea19f332c48a1406e6c2f4985 (patch)
tree7240f1be70aeb93aebc68243eb6aa5297e24f9b7 /llvm/lib/Transforms
parentfef5c5a27a1e39f960517b01b57d4a7b6e859ef2 (diff)
downloadbcm5719-llvm-c9058ca9e0da946ea19f332c48a1406e6c2f4985.tar.gz
bcm5719-llvm-c9058ca9e0da946ea19f332c48a1406e6c2f4985.zip
[Statepoints] Export a magic constant into a header; NFC
llvm-svn: 263733
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
index 85aaf62fb3c..0ebc80fef39 100644
--- a/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
+++ b/llvm/lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
@@ -1318,7 +1318,7 @@ makeStatepointExplicitImpl(const CallSite CS, /* to replace */
IRBuilder<> Builder(InsertBefore);
ArrayRef<Value *> GCArgs(LiveVariables);
- uint64_t StatepointID = 0xABCDEF00;
+ uint64_t StatepointID = StatepointDirectives::DefaultStatepointID;
uint32_t NumPatchBytes = 0;
uint32_t Flags = uint32_t(StatepointFlags::None);
OpenPOWER on IntegriCloud