#include "vm/array.h"
#include "vm/builtin.h"
-#include "vm/exceptions.h"
+#include "vm/exceptions.hpp"
#include "vm/global.h"
#include "vm/resolve.h"
-#include "vm/vm.h"
+#include "vm/vm.hpp"
#include "vm/jit/code.h"
#include "vm/jit/methodheader.h"
#include "vm/jit_interface.h"
#include "vmcore/class.h"
+#include "vmcore/globals.hpp"
#include "vmcore/linker.h"
#include "vmcore/loader.h"
#include "vmcore/method.h"
m->assumptions = as;
}
-
/* method_break_assumption_monomorphic *****************************************
Break the assumption that this method is monomorphic. All callers that
);
method_add_to_worklist(as->context, wl);
+
+#if defined(ENABLE_TLH) && 0
+ /* XXX hack */
+ method_assumption *as2;
+ as2 = m->assumptions;
+ m->assumptions = NULL;
+ method_break_assumption_monomorphic(as->context, wl);
+ /*
+ assert(m->assumptions == NULL);
+ m->assumptions = as2;*/
+#endif
+
}
}
-
/* method_printflags ***********************************************************
Prints the flags of a method to stdout like.