Source

pypy / pypy / translator / jvm / prebuiltnodes.py

Diff from to

pypy/translator/jvm/prebuiltnodes.py

     raise RuntimeError
 
 @with_types([])
+def throwMemoryError():
+    raise MemoryError
+
+@with_types([])
 def throwValueError():
     raise ValueError
 
 
 def create_interlink_node(db):
     """ Translates the create_interlink_impl() function and returns
-    a jvmgen.Method object that allows it to be called. """
+    a jvm.Method object that allows it to be called. """
     translator = db.genoo.translator
 
     for func, type_list in HELPERS.items():