[pypy-svn] r52068 - pypy/branch/fixed-list-ootype/pypy/translator/jvm
niko at codespeak.net
niko at codespeak.net
Sun Mar 2 20:26:47 CET 2008
Author: niko
Date: Sun Mar 2 20:26:47 2008
New Revision: 52068
Modified:
pypy/branch/fixed-list-ootype/pypy/translator/jvm/constant.py
pypy/branch/fixed-list-ootype/pypy/translator/jvm/database.py
Log:
1. add double arrays to database table
2. add missing package in constant.py
Modified: pypy/branch/fixed-list-ootype/pypy/translator/jvm/constant.py
==============================================================================
--- pypy/branch/fixed-list-ootype/pypy/translator/jvm/constant.py (original)
+++ pypy/branch/fixed-list-ootype/pypy/translator/jvm/constant.py Sun Mar 2 20:26:47 2008
@@ -180,7 +180,7 @@
def create_pointer(self, gen):
gen.new_with_jtype(self.eq_jcls)
gen.new_with_jtype(self.hash_jcls)
- gen.emit(CUSTOMDICTMAKE)
+ gen.emit(jvm.CUSTOMDICTMAKE)
class JVMWeakRefConst(WeakRefConst):
Modified: pypy/branch/fixed-list-ootype/pypy/translator/jvm/database.py
==============================================================================
--- pypy/branch/fixed-list-ootype/pypy/translator/jvm/database.py (original)
+++ pypy/branch/fixed-list-ootype/pypy/translator/jvm/database.py Sun Mar 2 20:26:47 2008
@@ -542,6 +542,7 @@
ootype.Bool : jvm.jByteArray,
ootype.UniChar : jvm.jCharArray,
ootype.String : jvm.jStringArray,
+ ootype.Float : jvm.jDoubleArray,
ootype.Void : jvm.jVoidArray,
}
More information about the pypy-svn
mailing list