The caching will not live in LLEE's execve() handler; that's suboptimal.
authorMisha Brukman <brukman+llvm@gmail.com>
Tue, 11 Nov 2003 18:23:09 +0000 (18:23 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Tue, 11 Nov 2003 18:23:09 +0000 (18:23 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9890 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llee/ExecveHandler.c

index 4b740147adf9041e7178bb04cbd1cec9b3ede910..c289f5759600738adee479254e1de32f823b0036 100644 (file)
@@ -65,14 +65,8 @@ int execve(const char *filename, char *const argv[], char *const envp[])
         free(fileAddr);
       }
       llvmExecve(realFilename, argv, envp);
-    } else {
-      /* 
-       * Not in cache: save translation
-       */ 
-      //llvmSaveFile(realFilename, addr, len);
-      //fprintf(stderr, "Cached: '%s'\n", realFilename);
-    }
-    
+    }    
+
     /* 
      * This is a bytecode file, so execute the JIT with the program and
      * parameters.