summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
diff options
context:
space:
mode:
authorDaniel Bovensiepen <[email protected]>2013-01-08 10:07:55 +0800
committerDaniel Bovensiepen <[email protected]>2013-01-08 10:07:55 +0800
commita096dc9e3b01f4fc31fc1f910e254813884a776e (patch)
treecd353be9cb1df5e009d130ceabfcd627e7fb34a7 /src/vm.c
parentaf75d8de2ca6b3eda97c588334b15920e856a53b (diff)
parent8c31c2006be7afa8da1fd01180955b108aee868c (diff)
downloadmruby-a096dc9e3b01f4fc31fc1f910e254813884a776e.tar.gz
mruby-a096dc9e3b01f4fc31fc1f910e254813884a776e.zip
Merge remote-tracking branch 'mruby/master' into array-clear
Diffstat (limited to 'src/vm.c')
-rw-r--r--src/vm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/vm.c b/src/vm.c
index b84158d1d..8ae28ef5e 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -49,7 +49,11 @@ The value below allows about 60000 recursive calls in the simplest case. */
#define MRB_STACK_MAX ((1<<18) - MRB_STACK_GROWTH)
#endif
-
+#ifdef VM_DEBUG
+# define DEBUG(x) (x)
+#else
+# define DEBUG(x)
+#endif
static inline void
stack_copy(mrb_value *dst, const mrb_value *src, size_t size)