package org.mozartoz.truffle.runtime;

/**
 * Stacktraceless exception for triggering deoptimization manually
 */
public final class DeoptimizingException extends RuntimeException {

	private static final long serialVersionUID = -304210520191451179L;

	public static final DeoptimizingException INSTANCE = new DeoptimizingException();

	private DeoptimizingException() {
		super(null, null);
	}

	@SuppressWarnings("sync-override")
	@Override
	public final Throwable fillInStackTrace() {
		return null;
	}

}

@@ -102,16 +102,88 @@
 manually
+.%0A * SlowPathException cannot be used because it is a checked Exception.
 %0A */%0Apub
@@ -440,29 +440,8 @@
 ) %7B%0A
-%09%09super(null, null);%0A
 %09%7D%0A%0A

Clarify comment