Fix a subtle bug where OCaml/C function stack are not aligned on a 16 byte
authorKim Nguyẽn <kn@lri.fr>
Tue, 23 Oct 2012 13:45:36 +0000 (15:45 +0200)
committerKim Nguyẽn <kn@lri.fr>
Tue, 23 Oct 2012 13:45:36 +0000 (15:45 +0200)
commitcbed4c9507473b8423977e7eba36d2fb47007674
tree47a3c8ec24b7e504c34ef5ede4533e6165c6bb97
parent45da1b4379b39416c6fce4f7a8ef718784fc1acb
Fix a subtle bug where OCaml/C function stack are not aligned on a 16 byte
boundary. This causes problem when calling optimized C code (in e.g. libcds)
where g++ assumed that all stacks are alligned on a 16 byte boundary (to use
instructions such as movaps freely).
src/common_stub.cpp
src/common_stub.hpp
src/xml-tree-builder_stub.cpp
src/xml-tree_stub.cpp