[llvm-commits] [llvm-gcc-4.2] r66743 - in /llvm-gcc-4.2/trunk/gcc: llvm-debug.cpp llvm-debug.h

Devang Patel dpatel at apple.com
Wed Mar 11 17:10:07 PDT 2009


Author: dpatel
Date: Wed Mar 11 19:10:06 2009
New Revision: 66743

URL: http://llvm.org/viewvc/llvm-project?rev=66743&view=rev
Log:
Remove unused argument.

Modified:
    llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
    llvm-gcc-4.2/trunk/gcc/llvm-debug.h

Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=66743&r1=66742&r2=66743&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Wed Mar 11 19:10:06 2009
@@ -262,7 +262,7 @@
 
 /// EmitRegionStart- Constructs the debug code for entering a declarative
 /// region - "llvm.dbg.region.start."
-void DebugInfo::EmitRegionStart(Function *Fn, BasicBlock *CurBB) {
+void DebugInfo::EmitRegionStart(BasicBlock *CurBB) {
   llvm::DIDescriptor D;
   if (!RegionStack.empty())
     D = RegionStack.back();

Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.h?rev=66743&r1=66742&r2=66743&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-debug.h (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.h Wed Mar 11 19:10:06 2009
@@ -85,7 +85,7 @@
 
   /// EmitRegionStart- Constructs the debug code for entering a declarative
   /// region - "llvm.dbg.region.start."
-  void EmitRegionStart(Function *Fn, BasicBlock *CurBB);
+  void EmitRegionStart(BasicBlock *CurBB);
 
   /// EmitRegionEnd - Constructs the debug code for exiting a declarative
   /// region - "llvm.dbg.region.end."





More information about the llvm-commits mailing list