diff options
author | Chris Lattner <sabre@nondot.org> | 2006-01-25 23:08:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-01-25 23:08:15 +0000 |
commit | 3bc5a60b80dc27868a5c6f14358a068a110e6ded (patch) | |
tree | f6a1ecf0acf41d0052cb376cca6fbe2b609422ea /lib/Bytecode/Writer/SlotCalculator.h | |
parent | 5f8f0e219dce9f3defd62a2f8f4c4c7f3e88e8c0 (diff) |
add bc reader/writer support for inline asm
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25621 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode/Writer/SlotCalculator.h')
-rw-r--r-- | lib/Bytecode/Writer/SlotCalculator.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Bytecode/Writer/SlotCalculator.h b/lib/Bytecode/Writer/SlotCalculator.h index 63927ca814..e88a88f726 100644 --- a/lib/Bytecode/Writer/SlotCalculator.h +++ b/lib/Bytecode/Writer/SlotCalculator.h @@ -74,9 +74,9 @@ class SlotCalculator { SlotCalculator(const SlotCalculator &); // DO NOT IMPLEMENT void operator=(const SlotCalculator &); // DO NOT IMPLEMENT public: - SlotCalculator(const Module *M ); + SlotCalculator(const Module *M); // Start out in incorp state - SlotCalculator(const Function *F ); + SlotCalculator(const Function *F); /// getSlot - Return the slot number of the specified value in it's type /// plane. This returns < 0 on error! @@ -146,19 +146,19 @@ private: // they haven't been inserted already, they get inserted, otherwise // they are ignored. // - int getOrCreateSlot(const Value *D); - int getOrCreateSlot(const Type* T); + int getOrCreateSlot(const Value *V); + int getOrCreateSlot(const Type *T); // insertValue - Insert a value into the value table... Return the // slot that it occupies, or -1 if the declaration is to be ignored // because of the IgnoreNamedNodes flag. // int insertValue(const Value *D, bool dontIgnore = false); - int insertType(const Type* T, bool dontIgnore = false ); + int insertType(const Type *T, bool dontIgnore = false); // doInsertValue - Small helper function to be called only be insertVal. - int doInsertValue(const Value *D); - int doInsertType(const Type*T); + int doInsertValue(const Value *V); + int doInsertType(const Type *T); // processModule - Process all of the module level function declarations and // types that are available. |