1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Mark COROUTINE as noreturn.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
samuel 2018-11-20 10:16:41 +00:00
parent b58dc42abb
commit 99346f74a4
5 changed files with 5 additions and 5 deletions

View file

@ -14,7 +14,7 @@
extern "C" {
#endif
#define COROUTINE void
#define COROUTINE __attribute__((noreturn)) void
const size_t COROUTINE_REGISTERS = 9;

View file

@ -14,7 +14,7 @@
extern "C" {
#endif
#define COROUTINE void
#define COROUTINE __attribute__((noreturn)) void
const size_t COROUTINE_REGISTERS = 0xb0 / 8;

View file

@ -14,7 +14,7 @@
extern "C" {
#endif
#define COROUTINE void __fastcall
#define COROUTINE __declspec(noreturn) void __fastcall
const size_t COROUTINE_REGISTERS = 4;

View file

@ -14,7 +14,7 @@
extern "C" {
#endif
#define COROUTINE void
#define COROUTINE __declspec(noreturn) void
const size_t COROUTINE_REGISTERS = 8;

View file

@ -14,7 +14,7 @@
extern "C" {
#endif
#define COROUTINE void __attribute__((fastcall))
#define COROUTINE __attribute__((noreturn, fastcall)) void
const size_t COROUTINE_REGISTERS = 4;