aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-20 14:35:38 +0000
committerChris Lattner <sabre@nondot.org>2003-09-20 14:35:38 +0000
commitb912491329c1ad96dbf0413f15f407a05ffba927 (patch)
tree3927f2995943f3c8bc1dc65de41e714dffc9be2e /include/llvm/Transforms
parent75ebab89ffd2efc2e99e2585615d0253d87eaa6c (diff)
downloadexternal_llvm-b912491329c1ad96dbf0413f15f407a05ffba927.zip
external_llvm-b912491329c1ad96dbf0413f15f407a05ffba927.tar.gz
external_llvm-b912491329c1ad96dbf0413f15f407a05ffba927.tar.bz2
Cleanup header file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8622 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-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 915a19f..3d2385e 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);