summaryrefslogtreecommitdiffstats
path: root/vm.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-27 11:33:01 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-06-27 11:33:01 +0000
commitfbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1 (patch)
treefcd1b4f3b33b42d8aff8b95372d8f6996adc79cb /vm.h
parentc1ccc983ff34df27b30d32bc20acd93323457fe5 (diff)
downloadruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.tar.gz
ruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.tar.xz
ruby-fbdc3b1a4f7f66073d53146d5d2ffca6f1e986b1.zip
* compile.c (iseq_translate_direct_threaded_code): fix prototype
function name. * vm.h: add correct cast. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.h')
-rw-r--r--vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm.h b/vm.h
index 364eaa11d..13781bbe6 100644
--- a/vm.h
+++ b/vm.h
@@ -276,7 +276,7 @@ default: \
return 0; \
} while (0)
#else
-#define THROW_EXCEPTION(exc) return (exc)
+#define THROW_EXCEPTION(exc) return (VALUE)(exc)
#endif
#define SCREG(r) (reg_##r)