[pypy-commit] lang-smalltalk storage-cleanups: Renamed spyvm/tool to spyvm/util

anton_gulenko noreply at buildbot.pypy.org
Wed Aug 6 11:41:09 CEST 2014


Author: Anton Gulenko <anton.gulenko at googlemail.com>
Branch: storage-cleanups
Changeset: r1015:2476448b677b
Date: 2014-08-05 19:52 +0200
http://bitbucket.org/pypy/lang-smalltalk/changeset/2476448b677b/

Log:	Renamed spyvm/tool to spyvm/util

diff --git a/spyvm/constants.py b/spyvm/constants.py
--- a/spyvm/constants.py
+++ b/spyvm/constants.py
@@ -2,7 +2,7 @@
 import time
 from rpython.rlib.jit import elidable
 
-from spyvm.tool.bitmanipulation import splitter
+from spyvm.util.bitmanipulation import splitter
 
 # ___________________________________________________________________________
 # Slot Names
diff --git a/spyvm/interpreter_bytecodes.py b/spyvm/interpreter_bytecodes.py
--- a/spyvm/interpreter_bytecodes.py
+++ b/spyvm/interpreter_bytecodes.py
@@ -2,7 +2,7 @@
 from spyvm.storage_contexts import ContextPartShadow
 from spyvm.storage_classes import ClassShadow
 from spyvm import model, primitives, wrapper, error
-from spyvm.tool.bitmanipulation import splitter
+from spyvm.util.bitmanipulation import splitter
 from rpython.rlib import objectmodel, unroll, jit
 
 # unrolling_zero has been removed from rlib at some point.
diff --git a/spyvm/squeakimage.py b/spyvm/squeakimage.py
--- a/spyvm/squeakimage.py
+++ b/spyvm/squeakimage.py
@@ -1,6 +1,6 @@
 import os, sys, time
 from spyvm import constants, model
-from spyvm.tool.bitmanipulation import splitter
+from spyvm.util.bitmanipulation import splitter
 from rpython.rlib import objectmodel, streamio
 
 # ____________________________________________________________
diff --git a/spyvm/test/jittest/base.py b/spyvm/test/jittest/base.py
--- a/spyvm/test/jittest/base.py
+++ b/spyvm/test/jittest/base.py
@@ -3,7 +3,7 @@
 from rpython.tool.jitlogparser.parser import Op
 from rpython.jit.metainterp.resoperation import opname
 from rpython.jit.tool import oparser
-from spyvm.tool import logparser
+from spyvm.util import logparser
 
 BasePath = os.path.abspath(
     os.path.join(
diff --git a/spyvm/test/test_bitmanipulation.py b/spyvm/test/test_bitmanipulation.py
--- a/spyvm/test/test_bitmanipulation.py
+++ b/spyvm/test/test_bitmanipulation.py
@@ -1,4 +1,4 @@
-from spyvm.tool.bitmanipulation import splitter
+from spyvm.util.bitmanipulation import splitter
 
 
 def test_simple_splitbits():
diff --git a/spyvm/tool/__init__.py b/spyvm/util/__init__.py
rename from spyvm/tool/__init__.py
rename to spyvm/util/__init__.py
diff --git a/spyvm/tool/bitmanipulation.py b/spyvm/util/bitmanipulation.py
rename from spyvm/tool/bitmanipulation.py
rename to spyvm/util/bitmanipulation.py
diff --git a/spyvm/tool/extract_loops.py b/spyvm/util/extract_loops.py
rename from spyvm/tool/extract_loops.py
rename to spyvm/util/extract_loops.py
--- a/spyvm/tool/extract_loops.py
+++ b/spyvm/util/extract_loops.py
@@ -1,5 +1,5 @@
 import sys, os, shutil
-from spyvm.tool import logparser
+from spyvm.util import logparser
 
 def main(argv):
     if len(argv) != 1:
diff --git a/spyvm/tool/logparser.py b/spyvm/util/logparser.py
rename from spyvm/tool/logparser.py
rename to spyvm/util/logparser.py
diff --git a/spyvm/tool/storagelog_parser.py b/spyvm/util/storagelog_parser.py
rename from spyvm/tool/storagelog_parser.py
rename to spyvm/util/storagelog_parser.py


More information about the pypy-commit mailing list