aboutsummaryrefslogtreecommitdiffstats
path: root/tools/llee
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-11-11 18:23:09 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-11-11 18:23:09 +0000
commitfa33a1323252b55724f74f279317dd8ea72e7230 (patch)
tree10a8aa65c226f10860a0dac4e51d1da6dda115d7 /tools/llee
parent400433dfea29af8b826db9abb24a7c0fe3c0c894 (diff)
downloadexternal_llvm-fa33a1323252b55724f74f279317dd8ea72e7230.zip
external_llvm-fa33a1323252b55724f74f279317dd8ea72e7230.tar.gz
external_llvm-fa33a1323252b55724f74f279317dd8ea72e7230.tar.bz2
The caching will not live in LLEE's execve() handler; that's suboptimal.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llee')
-rw-r--r--tools/llee/ExecveHandler.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/llee/ExecveHandler.c b/tools/llee/ExecveHandler.c
index 4b74014..c289f57 100644
--- a/tools/llee/ExecveHandler.c
+++ b/tools/llee/ExecveHandler.c
@@ -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.