2 changed files with 10 additions and 6 deletions
@ -1 +1,11 @@ |
|||
#include "extension.h" |
|||
#include "hwacha.h" |
|||
#include "dummy-rocc.h" |
|||
|
|||
// Static constructors want to make use of the extensions map, so we
|
|||
// access it through a function call to guarantee initialization order.
|
|||
std::map<std::string, std::function<extension_t*()>>& extensions() |
|||
{ |
|||
static std::map<std::string, std::function<extension_t*()>> v; |
|||
return v; |
|||
} |
|||
|
|||
Loading…
Reference in new issue