summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopRotation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopRotation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp
index 8abd96eb06..b746e1d6fb 100644
--- a/lib/Transforms/Scalar/LoopRotation.cpp
+++ b/lib/Transforms/Scalar/LoopRotation.cpp
@@ -44,7 +44,7 @@ namespace {
class VISIBILITY_HIDDEN LoopRotate : public LoopPass {
public:
- static const int ID; // Pass ID, replacement for typeid
+ static const char ID; // Pass ID, replacement for typeid
LoopRotate() : LoopPass((intptr_t)&ID) {}
// Rotate Loop L as many times as possible. Return true if
@@ -94,7 +94,7 @@ namespace {
SmallVector<RenameData, MAX_HEADER_SIZE> LoopHeaderInfo;
};
- const int LoopRotate::ID = 0;
+ const char LoopRotate::ID = 0;
RegisterPass<LoopRotate> X ("loop-rotate", "Rotate Loops");
}