Descriptor d=(Descriptor)nametable.get(varname);
if (d==null) {
ClassDescriptor cd = null;
- if(((MethodDescriptor)md).isStaticBlock()) {
+ if((md instanceof MethodDescriptor) && ((MethodDescriptor)md).isStaticBlock()) {
// this is a static block, all the accessed fields should be static field
cd = ((MethodDescriptor)md).getClassDesc();
SymbolTable fieldtbl = cd.getFieldTable();
int j = 0;
int k = 0;
int gccorenum = (coren < NUMCORES4GC) ? (coren) : (coren % NUMCORES4GC);
- int coords_x = bamboo_cpu2coords[gccorenum*2];
- int coords_y = bamboo_cpu2coords[gccorenum*2+1];
int ii = 1;
int tofindb = gc_core2block[2*core2test[gccorenum][k]+i]+(NUMCORES4GC*2)*j;
int totest = tofindb;
void failednullptr();
void abort_task();
void injectinstructionfailure();
+#ifdef MULTICORE
+void createstartupobject(int argc, char ** argv);
+#else
void createstartupobject();
+#endif
#ifdef PRECISE_GC
#define VAR(name) ___params___->name