Reduce stack size used by interpreter frame on Windows MSVC. (mono/mono#14659)
Reduce stack size used by interpreter frame on Windows MSVC.
Interpreter frame was 1248 bytes in size under Windows MSVC. This was almost double the size of other platforms ~670 bytes. After investigating different constructs in interpreter switch statement in interp_exec_method_full, it turns out that local declared errors couldn't be reused over different case statements and added ~100 bytes each. Switching local declared errors to shared one, reduce the stack size down to ~670 bytes under Windows MSVC.
Commit migrated from https://github.com/mono/mono/commit/
8d0ad4c81634643f8903c58ba4f11e462a2e26a6