Author: Manuel Jacob <[email protected]>
Branch: llvm-translation-backend
Changeset: r81678:03e0a99cf23b
Date: 2016-01-11 22:58 +0100
http://bitbucket.org/pypy/pypy/changeset/03e0a99cf23b/
Log: Fix this test by using the new entrypoint API.
diff --git a/rpython/translator/llvm/test/test_genllvm.py
b/rpython/translator/llvm/test/test_genllvm.py
--- a/rpython/translator/llvm/test/test_genllvm.py
+++ b/rpython/translator/llvm/test/test_genllvm.py
@@ -534,14 +534,14 @@
assert fc(1) == 0
def test_entrypoints(self):
- from rpython.rlib.entrypoint import entrypoint
+ from rpython.rlib.entrypoint import entrypoint_highlevel
from rpython.translator.interactive import Translation
def f(args):
return 3
key = 'test_entrypoints42'
- @entrypoint(key, [int], 'foobar')
+ @entrypoint_highlevel(key, [int], 'foobar')
def g(x):
return x + 42
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit