HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c15defe
)
add internal SCM_NOINLINE definition
author
Andy Wingo
<wingo@pobox.com>
Mon, 30 Apr 2012 17:51:06 +0000
(19:51 +0200)
committer
Andy Wingo
<wingo@pobox.com>
Mon, 30 Apr 2012 18:29:49 +0000
(20:29 +0200)
* libguile/_scm.h (SCM_NOINLINE): New internal define, for things that
we definitely don't want the compiler to inline.
libguile/_scm.h
patch
|
blob
|
blame
|
history
diff --git
a/libguile/_scm.h
b/libguile/_scm.h
index
48fb2cc
..
5b4f3b7
100644
(file)
--- a/
libguile/_scm.h
+++ b/
libguile/_scm.h
@@
-190,6
+190,11
@@
#define scm_to_off64_t scm_to_int64
#define scm_from_off64_t scm_from_int64
+#if (defined __GNUC__)
+# define SCM_NOINLINE __attribute__ ((__noinline__))
+#else
+# define SCM_NOINLINE /* noinline */
+#endif
/* The endianness marker in objcode. */
#ifdef WORDS_BIGENDIAN