Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make UnsupportedValueTypeOperation a recoverable exception #5193

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions compiler/compile/CompilationException.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,17 +65,6 @@ struct ILGenFailure : public virtual CompilationException
virtual const char* what() const throw() { return "IL Gen Failure"; }
};

/**
* Unsupported value type operation exception type.
*
* Thrown if an unsupported value type operation is encountered that requires
* compilation to be aborted.
*/
struct UnsupportedValueTypeOperation : public virtual CompilationException
{
virtual const char* what() const throw() { return "Unsupported value type operation"; }
};

/**
* Recoverable IL Generation Failure exception type.
*
Expand All @@ -100,6 +89,17 @@ struct NoRecompilationRecoverableILGenException: public RecoverableILGenExceptio
virtual const char* what() const throw() { return "Recoverable IL Gen Exception with no recompilation if failing method is outermost"; }
};

/**
* Unsupported value type operation exception type.
*
* Thrown if an unsupported value type operation is encountered that requires
* compilation to be aborted.
*/
struct UnsupportedValueTypeOperation : public virtual RecoverableILGenException
{
virtual const char* what() const throw() { return "Unsupported value type operation"; }
};

/**
* Excessive Complexity exception type.
*
Expand Down