diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-12-02 20:12:23 -0500 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-12-02 20:12:40 -0500 |
commit | cc821ba9e5ed53720351839cce833196381ed2a6 (patch) | |
tree | 05679632c81d8817ebd01b8261cfb53891089a02 /tools/cache.py | |
parent | 4b313bbfdfd03dd375a901f18cf3a6e9a9a77b64 (diff) |
move import in cache.py to avoid module interdependencies; fallout from 0f5135e436 breaking test_llvm_nativizer
Diffstat (limited to 'tools/cache.py')
-rw-r--r-- | tools/cache.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/cache.py b/tools/cache.py index 8883a740..6f2443e8 100644 --- a/tools/cache.py +++ b/tools/cache.py @@ -1,7 +1,6 @@ import os.path, sys, shutil, hashlib, cPickle, zlib, time import tempfiles -import shared # Permanent cache for dlmalloc and stdlibc++ class Cache: @@ -192,3 +191,6 @@ def chunkify(funcs, chunk_size, chunking_file, DEBUG=False): # if previous_mapping.get(ident) != new_mapping.get(ident): # print >> sys.stderr, 'mapping inconsistency', ident, previous_mapping.get(ident), new_mapping.get(ident) return [''.join([func[1] for func in chunk]) for chunk in chunks] # remove function names + +import shared + |