public void caseClassConstant(ClassConstant arg0) { String value = arg0.getValue(); Type type = m_classConstantReader.stringToType(value); int num = OpenCLScene.v().getClassConstantNumbers().get(type); m_output.append("org_trifort_classConstant(" + num + ")"); }
public void caseNewMultiArrayExpr(NewMultiArrayExpr arg0) { OpenCLScene.v().setUsingGarbageCollector(); OpenCLArrayType array_type = new OpenCLArrayType((ArrayType) arg0.getType()); m_output.append(array_type.invokeNewMultiArrayExpr(arg0)); m_newCalled = true; }
public void caseNewExpr(NewExpr arg0) { OpenCLScene.v().setUsingGarbageCollector(); m_output.append(" -1 "); }
public void caseInstanceOfExpr(InstanceOfExpr arg0) { OpenCLScene.v().addInstanceof(arg0.getCheckType()); OpenCLInstanceof instance_of = new OpenCLInstanceof(arg0.getCheckType()); m_output.append(instance_of.invokeExpr(arg0)); }