Convert tabs to spaces
authorMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Apr 2005 04:08:30 +0000 (04:08 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Fri, 22 Apr 2005 04:08:30 +0000 (04:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21440 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
lib/ExecutionEngine/Interpreter/Interpreter.cpp
lib/ExecutionEngine/Interpreter/Interpreter.h
lib/ExecutionEngine/JIT/JITEmitter.cpp
lib/Support/Compressor.cpp
lib/Support/PluginLoader.cpp
lib/Support/bzip2/blocksort.c
lib/Support/bzip2/bzlib.c
lib/Support/bzip2/compress.c

index 9137fc52dafe1de28eae6f36768124e2f2635896..20b7227809a294bfd51d70873ee1958f6d0b8427 100644 (file)
@@ -560,7 +560,7 @@ GenericValue lle_X_memcpy(FunctionType *M, const vector<GenericValue> &Args) {
 GenericValue lle_X_fopen(FunctionType *M, const vector<GenericValue> &Args) {
   assert(Args.size() == 2);
   return PTOGV(fopen((const char *)GVTOP(Args[0]),
-                    (const char *)GVTOP(Args[1])));
+                     (const char *)GVTOP(Args[1])));
 }
 
 // int fclose(FILE *F);
@@ -604,14 +604,14 @@ GenericValue lle_X_fwrite(FunctionType *M, const vector<GenericValue> &Args) {
 GenericValue lle_X_fgets(FunctionType *M, const vector<GenericValue> &Args) {
   assert(Args.size() == 3);
   return GVTOP(fgets((char*)GVTOP(Args[0]), Args[1].IntVal,
-                    getFILE(GVTOP(Args[2]))));
+                     getFILE(GVTOP(Args[2]))));
 }
 
 // FILE *freopen(const char *path, const char *mode, FILE *stream);
 GenericValue lle_X_freopen(FunctionType *M, const vector<GenericValue> &Args) {
   assert(Args.size() == 3);
   return PTOGV(freopen((char*)GVTOP(Args[0]), (char*)GVTOP(Args[1]),
-                      getFILE(GVTOP(Args[2]))));
+                       getFILE(GVTOP(Args[2]))));
 }
 
 // int fflush(FILE *stream);
index 04b59c09770e6df2149cac19af2b6ed8ac4d7957..c74ef9b86d774d0aea406a9e65cbd29f0630a468 100644 (file)
@@ -77,8 +77,9 @@ void Interpreter::runAtExitHandlers () {
 
 /// run - Start execution with the specified function and arguments.
 ///
-GenericValue Interpreter::runFunction(Function *F,
-                             const std::vector<GenericValue> &ArgValues) {
+GenericValue 
+Interpreter::runFunction(Function *F,
+                         const std::vector<GenericValue> &ArgValues) {
   assert (F && "Function *F was null at entry to run()");
 
   // Try extra hard not to pass extra args to a function that isn't
index 19ec64d0c130b3558c173aa3042b0aabd57ab7a4..2e83f5e7c6d1b16858267607b05e6c97f1a26632 100644 (file)
@@ -175,7 +175,7 @@ public:
   //FIXME: private:
 public:
   GenericValue executeGEPOperation(Value *Ptr, gep_type_iterator I,
-                                  gep_type_iterator E, ExecutionContext &SF);
+                                   gep_type_iterator E, ExecutionContext &SF);
 
 private:  // Helper functions
   // SwitchToNewBasicBlock - Start execution in a new basic block and run any
@@ -191,7 +191,7 @@ private:  // Helper functions
   GenericValue getConstantExprValue(ConstantExpr *CE, ExecutionContext &SF);
   GenericValue getOperandValue(Value *V, ExecutionContext &SF);
   GenericValue executeCastOperation(Value *SrcVal, const Type *Ty,
-                                   ExecutionContext &SF);
+                                    ExecutionContext &SF);
   void popStackAndReturnValueToCaller(const Type *RetTy, GenericValue Result);
 };
 
index 0905eb18e8f42700b7d8c0692f2c50c1b2395625..301f5e77eec4c34cc61aa6f828cd329c7299e474 100644 (file)
@@ -443,7 +443,7 @@ void JITEmitter::emitWordAt(unsigned W, unsigned *Ptr) {
 //
 uint64_t JITEmitter::getConstantPoolEntryAddress(unsigned ConstantNum) {
   assert(ConstantNum < ConstantPoolAddresses.size() &&
-        "Invalid ConstantPoolIndex!");
+         "Invalid ConstantPoolIndex!");
   return (intptr_t)ConstantPoolAddresses[ConstantNum];
 }
 
index 7396d4ad25bdc932582ec2bd1dc096ce2822106d..d2dc5e50ab0f35c5fcf11abff2d50a676a7e5251 100644 (file)
@@ -37,7 +37,8 @@ static int getdata(char*& buffer, size_t &size,
 }
 
 static int getdata_uns(char*& buffer, unsigned &size,
-                      llvm::Compressor::OutputDataCallback* cb, void* context) {
+                       llvm::Compressor::OutputDataCallback* cb, void* context)
+{
   size_t SizeOut;
   int Res = getdata(buffer, SizeOut, cb, context);
   size = SizeOut;
index 85b2a310e7b1857a9a4a8fea3d4320aa0fa62194..799c1256584b0b291e3d26ba9142975dd11dd582 100644 (file)
@@ -31,5 +31,5 @@ void PluginLoader::operator=(const std::string &Filename) {
   }
   if (!ErrorMessage.empty())
     std::cerr << "Error opening '" << Filename << "': " << ErrorMessage
-              << "\n  -load request ignored.\n";       
+              << "\n  -load request ignored.\n";
 }
index aba3efcd3121779391abe933579115f2e78ddab5..218afedf31772a96abb06d9a879a3d91a76de1c5 100644 (file)
@@ -321,7 +321,7 @@ void fallbackSort ( UInt32* fmap,
       r = -1;
       while (1) {
 
-        /*-- find the next non-singleton bucket --*/
+         /*-- find the next non-singleton bucket --*/
          k = r + 1;
          while (ISSET_BH(k) && UNALIGNED_BH(k)) k++;
          if (ISSET_BH(k)) {
index 2210c3a46455cc12c458a47b6ca074f471937743..ab3592901756d0f03623ea0be8611157fcdb6342 100644 (file)
@@ -470,7 +470,7 @@ int BZ_API(BZ2_bzCompress) ( bz_stream *strm, int action )
             return progress ? BZ_RUN_OK : BZ_PARAM_ERROR;
          } 
          else
-        if (action == BZ_FLUSH) {
+         if (action == BZ_FLUSH) {
             s->avail_in_expect = strm->avail_in;
             s->mode = BZ_M_FLUSHING;
             goto preswitch;
index 56501c1155335fcdfa8d151a9454155c4f98306b..f25622da9375fd54a807ae09fb2119acc95a487d 100644 (file)
@@ -373,14 +373,14 @@ void sendMTFValues ( EState* s )
 
       /*---
         Set up an auxiliary length table which is used to fast-track
-       the common case (nGroups == 6). 
+        the common case (nGroups == 6). 
       ---*/
       if (nGroups == 6) {
          for (v = 0; v < alphaSize; v++) {
             s->len_pack[v][0] = (s->len[1][v] << 16) | s->len[0][v];
             s->len_pack[v][1] = (s->len[3][v] << 16) | s->len[2][v];
             s->len_pack[v][2] = (s->len[5][v] << 16) | s->len[4][v];
-        }
+         }
       }
 
       nSelectors = 0;
@@ -429,7 +429,7 @@ void sendMTFValues ( EState* s )
             cost[4] = cost45 & 0xffff; cost[5] = cost45 >> 16;
 
          } else {
-           /*--- slow version which correctly handles all situations ---*/
+            /*--- slow version which correctly handles all situations ---*/
             for (i = gs; i <= ge; i++) { 
                UInt16 icv = mtfv[i];
                for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv];
@@ -470,7 +470,7 @@ void sendMTFValues ( EState* s )
 #           undef BZ_ITUR
 
          } else {
-           /*--- slow version which correctly handles all situations ---*/
+            /*--- slow version which correctly handles all situations ---*/
             for (i = gs; i <= ge; i++)
                s->rfreq[bt][ mtfv[i] ]++;
          }
@@ -621,7 +621,7 @@ void sendMTFValues ( EState* s )
 #           undef BZ_ITAH
 
       } else {
-        /*--- slow version which correctly handles all situations ---*/
+         /*--- slow version which correctly handles all situations ---*/
          for (i = gs; i <= ge; i++) {
             bsW ( s, 
                   s->len  [s->selector[selCtr]] [mtfv[i]],