Show all
Author Commit Message Labels Comments Date
Antonio Cuni avatarAntonio Cuni
merge heads
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
fix translation by iterating only on the types which are known to be integers
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
implement fielddescrof_dynamic for the ll backends
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
another unit test for when not to optimize
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
add optimizeopt unit test for the struct_{get,set}field optimization
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
add a JIT optimization which turns calls to libffi.struct_{get,set}field_* into {SET,GET}FIELD_RAW. optimizeopt unit test are coming in the next checkin
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
implement fielddescrof_dynamic for the llgraph backend
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
merge heads
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
fix the _ffi module to use the new interface exposed by libffi
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
refactor the interface for struct_{get,set}field. Now we pass the ffitype at runtime, and the values are handled as lltype.Signed. struct_{get,set}field take care of doing cast of the correct LLTYPE
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
we can't promote strings
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
merge heads
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
make it elidable_promote, it should completely optimize away the offset/type lookup
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
rpython fix
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
fix the result of a bad rebase
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
this method is elidable
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
turn the interplevel KeyError into an applevel AttributeError
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
bah, apparently interp2app functions cannot be class methods
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
fix import
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
disable this check for now, or else it won't translate
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
move the code to get/set arbitrary struct fields to rlib.libffi. Eventually, these two functions will be recognized and optimized by the JIT
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
make it possible to allocate a struct, and set/get fields on it. The only supported type is 'long' so far
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
bah, forgot to add this file in the previous checkin
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
move _ffi.Field and most of compute_shape to interp-level
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
don't store the name on the struct descr, but make it accessible from the ffi type
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
store also the struct name in the descr
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
introduce the concept of _StructDescr, which describes the layout and ffitype of a structure
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
split the implementation/tests of W_FFIType and W_FuncPtr into two separate files
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
start to implement _ffi.Structure
Branches
ffistruct
Antonio Cuni avatarAntonio Cuni
implement FFIType.sizeof(); put some test logic into a base class
Branches
ffistruct
  1. Prev
  2. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.