public boolean onStack(final LocalExpr expr) {

		if (expr.isDef()) {
			return false;
		}

		final UseInformation UI = (UseInformation) useInfoMap.get(expr);

		if (UI == null) {
			if (StackOptimizer.DEBUG) {
				System.err
						.println("Error in StackOptimizer.onStack: parameter not found in useInfoMap");
			}
			return false;
		}

		if (UI.type == 0) {
			return true;
		}

		if ((UI.type == 1) && !shouldStore((LocalExpr) expr.def())) {
			return true;
		}

		return false;
	}