[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h

Chris Lattner lattner at cs.uiuc.edu
Sat Sep 20 09:36:01 PDT 2003


Changes in directory llvm/include/llvm/Transforms/Utils:

DemoteRegToStack.h updated: 1.1 -> 1.2

---
Log message:

Cleanup header file


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h
diff -u llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h:1.1 llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h:1.2
--- llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h:1.1	Tue Dec 10 07:07:12 2002
+++ llvm/include/llvm/Transforms/Utils/DemoteRegToStack.h	Sat Sep 20 09:35:38 2003
@@ -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);





More information about the llvm-commits mailing list