[pypy-svn] r79130 - in pypy/release/1.4.x: . pypy pypy/jit/backend/test pypy/jit/metainterp/optimizeopt pypy/module/array/benchmark pypy/module/array/test pypy/rlib pypy/rlib/test

fijal at codespeak.net fijal at codespeak.net
Mon Nov 15 20:14:26 CET 2010


Author: fijal
Date: Mon Nov 15 20:14:25 2010
New Revision: 79130

Modified:
   pypy/release/1.4.x/   (props changed)
   pypy/release/1.4.x/pypy/   (props changed)
   pypy/release/1.4.x/pypy/jit/backend/test/runner_test.py
   pypy/release/1.4.x/pypy/jit/metainterp/optimizeopt/optimizer.py   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/Makefile   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/intimg.c   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/intimgtst.c   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/intimgtst.py   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/loop.c   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/sum.c   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/sumtst.c   (props changed)
   pypy/release/1.4.x/pypy/module/array/benchmark/sumtst.py   (props changed)
   pypy/release/1.4.x/pypy/module/array/test/test_array_old.py   (props changed)
   pypy/release/1.4.x/pypy/rlib/rerased.py   (props changed)
   pypy/release/1.4.x/pypy/rlib/test/test_rerased.py   (props changed)
Log:
merge 79030 from trunk

Modified: pypy/release/1.4.x/pypy/jit/backend/test/runner_test.py
==============================================================================
--- pypy/release/1.4.x/pypy/jit/backend/test/runner_test.py	(original)
+++ pypy/release/1.4.x/pypy/jit/backend/test/runner_test.py	Mon Nov 15 20:14:25 2010
@@ -2168,12 +2168,14 @@
             # Tested with a function that intentionally does not cast the
             # result to RESTYPE, but makes sure that we return the whole
             # value in eax or rax.
-            eci = ExternalCompilationInfo(separate_module_sources=["""
+            eci = ExternalCompilationInfo(
+                separate_module_sources=["""
                 long fn_test_result_of_call(long x)
                 {
                     return x + 1;
                 }
-            """])
+                """],
+                export_symbols=['fn_test_result_of_call'])
             f = rffi.llexternal('fn_test_result_of_call', [lltype.Signed],
                                 RESTYPE, compilation_info=eci, _nowrapper=True)
             value = intmask(0xFFEEDDCCBBAA9988)
@@ -2199,12 +2201,14 @@
             # Tested with a function that intentionally does not cast the
             # result to RESTYPE, but makes sure that we return the whole
             # value in eax or rax.
-            eci = ExternalCompilationInfo(separate_module_sources=["""
+            eci = ExternalCompilationInfo(
+                separate_module_sources=["""
                 long fn_test_result_of_call(long x)
                 {
                     return x + 1;
                 }
-            """])
+                """],
+                export_symbols=['fn_test_result_of_call'])
             f = rffi.llexternal('fn_test_result_of_call', [lltype.Signed],
                                 RESTYPE, compilation_info=eci, _nowrapper=True)
             value = intmask(0xFFEEDDCCBBAA9988)



More information about the Pypy-commit mailing list