Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.
- $Id: loader.c 7268 2007-02-01 12:02:56Z twisti $
+ $Id: loader.c 7464 2007-03-06 00:26:31Z edwin $
*/
#include "vm/stringlocal.h"
#include "vm/vm.h"
-#include "vm/jit/asmpart.h"
-#include "vm/jit/codegen-common.h"
+#include "vm/jit_interface.h"
#if defined(ENABLE_JAVASE)
# include "vmcore/annotation.h"
return false;
}
+ /* initialize the hit countdown field */
+
+#if defined(ENABLE_REPLACEMENT)
+ m->hitcountdown = METHOD_INITIAL_HIT_COUNTDOWN;
+#endif
+
/* everything was ok */
return true;
if (!suck_check_classbuffer_size(cb, 2))
goto return_exception;
- c->flags = suck_u2(cb);
+ /* We OR the flags here, as we set already some flags in
+ class_create_classinfo. */
+
+ c->flags |= suck_u2(cb);
/* check ACC flags consistency */