spacepaste

  1.  
  2. jit compiles trace:
  3. <trace call> -- parameter (1213,1213) both 64-bit
  4. |
  5. v
  6. ffi_closure_SYSV
  7. |
  8. v
  9. ffi_closure_helper_SYSV (1)
  10. |
  11. v
  12. < enters ctypes>
  13. closure_fcn <callback.c>
  14. |
  15. v
  16. _CallPythonObject <callback.c>
  17. |
  18. v
  19. <calls the python function that returns 1213+1213 = 2426
  20. as 64bit integer> (2)
  21. |
  22. v
  23. <calls h_set [2]. good, because we instructed it to do this> (3)
  24. contents of the buffer of (1) before the call: 0xdeadbeefdeadbeef
  25. contents of the buffer of (1) after the call: 0xdeadbeefdead097a
  26. ||
  27. vv
  28. returns every frame back to <trace call> and saves 0xdeadbeefdead097a
  29. in the variable e.g. i42 = call_i(..., 1213, 1213)
  30. (1) provides the stack location (3) writes the result to
  31. (2) leads into ll2types.py internal_callback and returns 2426L
  32.