Author: Armin Rigo <[email protected]>
Branch:
Changeset: r79976:00532145d0f4
Date: 2015-10-04 16:26 +0200
http://bitbucket.org/pypy/pypy/changeset/00532145d0f4/
Log: Typos and tweaks of comments
diff --git a/rpython/rlib/jit_libffi.py b/rpython/rlib/jit_libffi.py
--- a/rpython/rlib/jit_libffi.py
+++ b/rpython/rlib/jit_libffi.py
@@ -87,14 +87,10 @@
## test_fficall::test_guard_not_forced_fails for a more detalied explanation
## of the problem.
##
-## The solution is to create a new separate operation libffi_save_result whose
-## job is to write the result in the exchange_buffer: during normal execution
-## this is a no-op because the buffer is already filled by libffi, but during
-## jitting the behavior is to actually write into the buffer.
-##
+## The solution is to create a new separate operation libffi_call.
## The result is that now the jitcode looks like this:
##
-## %i0 = direct_call(libffi_call_int, ...)
+## %i0 = direct_call(libffi_call, ...)
## -live-
## raw_store(exchange_result, %i0)
##
@@ -237,7 +233,7 @@
def jit_ffi_call_impl_any(cif_description, func_addr, exchange_buffer):
"""
- This is the function which actually calls libffi. All the rest if just
+ This is the function which actually calls libffi. All the rest is just
infrastructure to convince the JIT to pass a typed result box to
jit_ffi_save_result
"""
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit