Throw an exception if visitFrame is used incorrectly for old class versions.

1 job for 317872-throw-error-if-visit-frame-used-incorrectly-for-old-versions in 11 minutes and 29 seconds (queued for 21 minutes and 52 seconds)