-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b131
Hotspot currently contains five cpu ports and five os ports. Platform dependent files carry the platform name in the filename. These are currently included in shared files by #ifdef cascades. Adding a new platform port requires editing all these cascades to add the new includes.
This change replaces the cascades by macros that construct the proper file name. This way, the include cascades can be removed without having to rename the files. The only drawback is that the same headers have to exist on all platforms, thus this change adds a few empty headers (as acroAssembler_x86.inline.hpp).
This change replaces the cascades by macros that construct the proper file name. This way, the include cascades can be removed without having to rename the files. The only drawback is that the same headers have to exist on all platforms, thus this change adds a few empty headers (as acroAssembler_x86.inline.hpp).