Skip to content

Commit

Permalink
Throw shouldNotReachHere behind transferToInterpreterAndInvalidate
Browse files Browse the repository at this point in the history
  • Loading branch information
cache-nez committed Feb 8, 2022
1 parent b61ae1d commit b159c16
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ void doEarlyError(@JavaType(Object.class) StaticObject src, int srcPos, @JavaTyp
if (!src.isArray() || !dest.isArray()) {
throw meta.throwException(meta.java_lang_ArrayStoreException);
}
CompilerDirectives.transferToInterpreterAndInvalidate();
throw EspressoError.shouldNotReachHere("expected null or non-array input");
}

Expand Down

0 comments on commit b159c16

Please sign in to comment.