Merge pull request #6521 from lioncash/enum CachedInterpreter: Use an enum class for instruction type