Debian Codegraph @

rpython/jit/backend/x86/test/test_send.py

raw symbols SCIP
1
2 import py
3 from rpython.jit.metainterp.test.test_send import SendTests
4 from rpython.jit.backend.x86.test.test_basic import Jit386Mixin
5 from rpython.rlib import jit
6
7 class TestSend(Jit386Mixin, SendTests):
8 # for the individual tests see
9 # ====> ../../../metainterp/test/test_send.py
10 def test_call_with_additional_args(self):
11 @jit.dont_look_inside
12 def externfn(a, b, c, d):
13 return a + b*10 + c*100 + d*1000
14 def f(a, b, c, d):
15 return externfn(a, b, c, d)
16 res = self.interp_operations(f, [1, 2, 3, 4])
17 assert res == 4321
18
19