[llvm-commits] CVS: llvm/lib/CodeGen/MachineFunction.cpp

Nate Begeman natebegeman at mac.com
Sat Apr 22 16:52:47 PDT 2006



Changes in directory llvm/lib/CodeGen:

MachineFunction.cpp updated: 1.88 -> 1.89
---
Log message:

Code cleanup associated with jump tables, thanks to Chris for noticing
these.


---
Diffs of the changes:  (+8 -0)

 MachineFunction.cpp |    8 ++++++++
 1 files changed, 8 insertions(+)


Index: llvm/lib/CodeGen/MachineFunction.cpp
diff -u llvm/lib/CodeGen/MachineFunction.cpp:1.88 llvm/lib/CodeGen/MachineFunction.cpp:1.89
--- llvm/lib/CodeGen/MachineFunction.cpp:1.88	Sat Apr 22 13:53:45 2006
+++ llvm/lib/CodeGen/MachineFunction.cpp	Sat Apr 22 18:52:35 2006
@@ -366,6 +366,14 @@
   }
 }
 
+unsigned MachineJumpTableInfo::getEntrySize() const { 
+  return TD.getPointerSize(); 
+}
+
+unsigned MachineJumpTableInfo::getAlignment() const { 
+  return TD.getPointerAlignment(); 
+}
+
 void MachineJumpTableInfo::dump() const { print(std::cerr); }
 
 






More information about the llvm-commits mailing list