[pypy-commit] pypy refactor-translator: Kill db.externalfuncs.
Manuel Jacob
noreply at buildbot.pypy.org
Sun Jan 19 21:47:33 CET 2014
Author: Manuel Jacob
Branch: refactor-translator
Changeset: r68772:5162c8617edc
Date: 2014-01-19 21:30 +0100
http://bitbucket.org/pypy/pypy/changeset/5162c8617edc/
Log: Kill db.externalfuncs.
diff --git a/rpython/translator/c/database.py b/rpython/translator/c/database.py
--- a/rpython/translator/c/database.py
+++ b/rpython/translator/c/database.py
@@ -45,7 +45,6 @@
self.delayedfunctionptrs = []
self.completedcontainers = 0
self.containerstats = {}
- self.externalfuncs = {}
self.helper2ptr = {}
# late_initializations is for when the value you want to
diff --git a/rpython/translator/c/node.py b/rpython/translator/c/node.py
--- a/rpython/translator/c/node.py
+++ b/rpython/translator/c/node.py
@@ -914,7 +914,6 @@
if hasattr(fnobj, '_external_name'):
if sandbox:
return sandbox_stub(fnobj, db)
- db.externalfuncs[fnobj._external_name] = fnobj
return []
elif hasattr(fnobj, 'graph'):
if sandbox and sandbox != "if_external":
More information about the pypy-commit
mailing list