aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Transforms/Utils/DemoteRegToStack.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/Transforms/Utils/DemoteRegToStack.h b/include/llvm/Transforms/Utils/DemoteRegToStack.h
index 915a19f112..3d2385efa2 100644
--- a/include/llvm/Transforms/Utils/DemoteRegToStack.h
+++ b/include/llvm/Transforms/Utils/DemoteRegToStack.h
@@ -1,4 +1,5 @@
//===- DemoteRegToStack.h - Move a virtual reg. to stack --------*- C++ -*-===//
+//
// This file provides the function:
// AllocaInst* DemoteRegToStack(Instruction& X):
//
@@ -13,9 +14,10 @@
// (4) Delete X and all the Phis, which should all now be dead.
//
// Returns the pointer to the alloca inserted to create a stack slot for X.
-//----------------------------------------------------------------------------
+//
+//===----------------------------------------------------------------------===//
class Instruction;
class AllocaInst;
-extern AllocaInst* DemoteRegToStack(Instruction& X);
+AllocaInst *DemoteRegToStack(Instruction &X);