From 00298d15e4cd6293865f233825448b1e82fea47e Mon Sep 17 00:00:00 2001 From: Misha Brukman Date: Tue, 11 Nov 2003 18:23:09 +0000 Subject: [PATCH] The caching will not live in LLEE's execve() handler; that's suboptimal. llvm-svn: 9890 --- tools/llee/ExecveHandler.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/tools/llee/ExecveHandler.c b/tools/llee/ExecveHandler.c index 4b740147adf..c289f575960 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.