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:
parent
b58dc42abb
commit
99346f74a4
5 changed files with 5 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define COROUTINE void
|
||||
#define COROUTINE __attribute__((noreturn)) void
|
||||
|
||||
const size_t COROUTINE_REGISTERS = 9;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define COROUTINE void
|
||||
#define COROUTINE __attribute__((noreturn)) void
|
||||
|
||||
const size_t COROUTINE_REGISTERS = 0xb0 / 8;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define COROUTINE void __fastcall
|
||||
#define COROUTINE __declspec(noreturn) void __fastcall
|
||||
|
||||
const size_t COROUTINE_REGISTERS = 4;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define COROUTINE void
|
||||
#define COROUTINE __declspec(noreturn) void
|
||||
|
||||
const size_t COROUTINE_REGISTERS = 8;
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define COROUTINE void __attribute__((fastcall))
|
||||
#define COROUTINE __attribute__((noreturn, fastcall)) void
|
||||
|
||||
const size_t COROUTINE_REGISTERS = 4;
|
||||
|
||||
|
|
Loading…
Reference in a new issue