[interp] Cleanup dispatch macros. (mono/mono#16784)
authorJay Krell <jaykrell@microsoft.com>
Tue, 17 Sep 2019 08:55:46 +0000 (01:55 -0700)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Tue, 17 Sep 2019 08:55:45 +0000 (10:55 +0200)
commit121481c6859939f4bd7e7ebd6111ac836d020184
tree2936b6a0be85075bd3801203451d4ff6081128f4
parent46fff06e2f564c72b02efbf2259e833098be23ab
[interp] Cleanup dispatch macros. (mono/mono#16784)

- Factor out reptition into already existing macros.
 - Remove the default for computed goto which is dead.
   Computed goto has no notion of default. It is just
   an unchecked array access.

Extracted from https://github.com/mono/mono/pull/16721.

Commit migrated from https://github.com/mono/mono/commit/af185d2c1e39169557e996b3fd1ead6acb174486
src/mono/mono/mini/interp/interp.c