Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: value-profiling
Changeset: r81893:cfa89ffc2f8a
Date: 2016-01-21 18:37 +0100
http://bitbucket.org/pypy/pypy/changeset/cfa89ffc2f8a/

Log:    move the valueprof to rlib

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -4,7 +4,7 @@
 from rpython.rlib.rarithmetic import intmask, r_uint
 
 from pypy.interpreter.baseobjspace import W_Root
-from pypy.interpreter import valueprof
+from rpython.rlib import valueprof
 from pypy.objspace.std.dictmultiobject import (
     W_DictMultiObject, DictStrategy, ObjectDictStrategy, BaseKeyIterator,
     BaseValueIterator, BaseItemIterator, _never_equal_to_string,
diff --git a/pypy/interpreter/test/test_valueprof.py 
b/rpython/rlib/test/test_valueprof.py
rename from pypy/interpreter/test/test_valueprof.py
rename to rpython/rlib/test/test_valueprof.py
--- a/pypy/interpreter/test/test_valueprof.py
+++ b/rpython/rlib/test/test_valueprof.py
@@ -1,4 +1,4 @@
-from pypy.interpreter.valueprof import *
+from rpython.rlib.valueprof import *
 
 class Value(object):
     pass
diff --git a/pypy/interpreter/valueprof.py b/rpython/rlib/valueprof.py
rename from pypy/interpreter/valueprof.py
rename to rpython/rlib/valueprof.py
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to