diff options
author | Maciej Fijalkowski <fijall@gmail.com> | 2015-04-16 10:13:34 +0200 |
---|---|---|
committer | Maciej Fijalkowski <fijall@gmail.com> | 2015-04-16 10:13:34 +0200 |
commit | dfddde2c7051c9d5bebc87b8ac2bd4deb2a9f2da (patch) | |
tree | 593f6fda659eaec746ab9171afcf3b3a1cbea4ff /rpython/translator/driver.py | |
parent | 'default_factory' is actually a public read-write attribute on CPython. (diff) | |
download | pypy-dfddde2c7051c9d5bebc87b8ac2bd4deb2a9f2da.tar.gz pypy-dfddde2c7051c9d5bebc87b8ac2bd4deb2a9f2da.tar.bz2 pypy-dfddde2c7051c9d5bebc87b8ac2bd4deb2a9f2da.zip |
backout vmprof backout
Diffstat (limited to 'rpython/translator/driver.py')
-rw-r--r-- | rpython/translator/driver.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/rpython/translator/driver.py b/rpython/translator/driver.py index ebe7f8b405..ea4d5c148b 100644 --- a/rpython/translator/driver.py +++ b/rpython/translator/driver.py @@ -10,7 +10,8 @@ from rpython.annotator.listdef import s_list_of_strings from rpython.annotator import policy as annpolicy from rpython.tool.udir import udir from rpython.rlib.debug import debug_start, debug_print, debug_stop -from rpython.rlib.entrypoint import secondary_entrypoints +from rpython.rlib.entrypoint import secondary_entrypoints,\ + annotated_jit_entrypoints import py from rpython.tool.ansi_print import ansi_log @@ -416,10 +417,11 @@ class TranslationDriver(SimpleTaskEngine): from rpython.translator.c.genc import CStandaloneBuilder cbuilder = CStandaloneBuilder(self.translator, self.entry_point, config=self.config, - secondary_entrypoints=self.secondary_entrypoints) + secondary_entrypoints= + self.secondary_entrypoints + annotated_jit_entrypoints) else: from rpython.translator.c.dlltool import CLibraryBuilder - functions = [(self.entry_point, None)] + self.secondary_entrypoints + functions = [(self.entry_point, None)] + self.secondary_entrypoints + annotated_jit_entrypoints cbuilder = CLibraryBuilder(self.translator, self.entry_point, functions=functions, name='libtesting', |