summaryrefslogtreecommitdiff
path: root/coroutine/x86/Context.h
diff options
context:
space:
mode:
authorsamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:41 +0000
committersamuel <samuel@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-20 10:16:41 +0000
commit99346f74a4ee6b638a2fbb5a5edef506d379d531 (patch)
treebb8ce7f5eda7b33303caeb6b5c45ff87cb347161 /coroutine/x86/Context.h
parentb58dc42abb4e6513ba90acaa497ce581e5bc35e8 (diff)
Mark COROUTINE as noreturn.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'coroutine/x86/Context.h')
-rw-r--r--coroutine/x86/Context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/x86/Context.h b/coroutine/x86/Context.h
index 82fd1b75ff..e54dedd776 100644
--- a/coroutine/x86/Context.h
+++ b/coroutine/x86/Context.h
@@ -14,7 +14,7 @@
extern "C" {
#endif
-#define COROUTINE void __attribute__((fastcall))
+#define COROUTINE __attribute__((noreturn, fastcall)) void
const size_t COROUTINE_REGISTERS = 4;