You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that the OMR compiler already has something similar (see compiler/infra/Flags.hpp). Perhaps there's an opportunity for a similar solution to be used across multiple components in OMR (I'm not saying its Flags.hpp or what you are proposing, but perhaps some middle ground that can be used everywhere). Please keep it in mind.
Agreed. Flags.hpp has a lot of functionality which can be used to create a bit manipulation API. But, port library won't be able to support C++ code. DDR will not function properly. So, an equivalent C API can be added. template <class T>: T can be replaced with uint8_t* or uint8_t[SIZE] to support different flag sizes.
This API will be part of the port library. It will help reduce redundant code in the port library.
uint8_t*
orchar*
will be preferred overuint32_t*
. Note - check if it is feasible to convert existinguint32_t*
usage touint8_t*
orchar*
.The text was updated successfully, but these errors were encountered: