diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:48:46 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 21:48:46 +0000 |
commit | 23c6d2cb795ba0e7f132648ced6531a8abaa0d96 (patch) | |
tree | d29e3ba7bb0ac67ead047013cdd52bd91d3ccb0d /lib/Bytecode/Writer/SlotCalculator.h | |
parent | 8a96c53d36f2b94492fc06568c0e75d5180345b6 (diff) | |
download | external_llvm-23c6d2cb795ba0e7f132648ced6531a8abaa0d96.tar.gz external_llvm-23c6d2cb795ba0e7f132648ced6531a8abaa0d96.tar.bz2 external_llvm-23c6d2cb795ba0e7f132648ced6531a8abaa0d96.zip |
* Remove trailing whitespace
* Convert tabs to spaces
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21418 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index a6d4286aeb..63927ca814 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -1,10 +1,10 @@ //===-- Analysis/SlotCalculator.h - Calculate value slots -------*- C++ -*-===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This class calculates the slots that values will land in. This is useful for @@ -77,7 +77,7 @@ public: SlotCalculator(const Module *M ); // Start out in incorp state SlotCalculator(const Function *F ); - + /// getSlot - Return the slot number of the specified value in it's type /// plane. This returns < 0 on error! /// @@ -103,8 +103,8 @@ public: return CompactionTypes.size(); } - inline unsigned getModuleLevel(unsigned Plane) const { - return Plane < ModuleLevel.size() ? ModuleLevel[Plane] : 0; + inline unsigned getModuleLevel(unsigned Plane) const { + return Plane < ModuleLevel.size() ? ModuleLevel[Plane] : 0; } /// Returns the number of types in the type list that are at module level @@ -113,7 +113,7 @@ public: } TypePlane &getPlane(unsigned Plane); - TypeList& getTypes() { + TypeList& getTypes() { if (!CompactionTypes.empty()) return CompactionTypes; return Types; |