[llvm-commits] [dragonegg] r109399 - /dragonegg/trunk/llvm-types.cpp

Duncan Sands baldrick at free.fr
Mon Jul 26 10:34:56 PDT 2010


Author: baldrick
Date: Mon Jul 26 12:34:56 2010
New Revision: 109399

URL: http://llvm.org/viewvc/llvm-project?rev=109399&view=rev
Log:
Remove extraneous "inline" keyword that was left behind when
this function was was moved out of line.

Modified:
    dragonegg/trunk/llvm-types.cpp

Modified: dragonegg/trunk/llvm-types.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-types.cpp?rev=109399&r1=109398&r2=109399&view=diff
==============================================================================
--- dragonegg/trunk/llvm-types.cpp (original)
+++ dragonegg/trunk/llvm-types.cpp Mon Jul 26 12:34:56 2010
@@ -225,7 +225,7 @@
 }
 
 /// getFieldOffsetInBits - Return the bit offset of a FIELD_DECL in a structure.
-inline uint64_t getFieldOffsetInBits(tree field) {
+uint64_t getFieldOffsetInBits(tree field) {
   assert(OffsetIsLLVMCompatible(field) && "Offset is not constant!");
   uint64_t Result = getInt64(DECL_FIELD_BIT_OFFSET(field), true);
   Result += getInt64(DECL_FIELD_OFFSET(field), true) * BITS_PER_UNIT;





More information about the llvm-commits mailing list