#include "toolbox/logging.h"
#include "native/llni.h"
-#include "native/localref.h"
+#include "native/localref.hpp"
#include "native/native.hpp"
#include "threads/thread.hpp"
/* initialize members */
- cd->flags = 0;
+ // Set flags as requested.
+ if (opt_AlwaysEmitLongBranches) {
+ cd->flags = CODEGENDATA_FLAG_LONGBRANCHES;
+ }
+ else {
+ cd->flags = 0;
+ }
cd->mcodebase = (u1*) DumpMemory::allocate(MCODEINITSIZE);
cd->mcodeend = cd->mcodebase + MCODEINITSIZE;