summaryrefslogtreecommitdiffhomepage
path: root/src/error.c
diff options
context:
space:
mode:
authorfurunkel <[email protected]>2015-10-19 22:29:43 +0200
committerfurunkel <[email protected]>2015-10-19 22:29:43 +0200
commit3ab2f9371e60039936356afaee9f509d782259fd (patch)
tree2e4107a2e992f56c5051b5f39e04e7c375d2a139 /src/error.c
parentf07ee20260156e07c2ca5efe63bf0ea9f3ac8132 (diff)
downloadmruby-3ab2f9371e60039936356afaee9f509d782259fd.tar.gz
mruby-3ab2f9371e60039936356afaee9f509d782259fd.zip
Clean up GC code
Diffstat (limited to 'src/error.c')
-rw-r--r--src/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.c b/src/error.c
index 359e5737b..66e552557 100644
--- a/src/error.c
+++ b/src/error.c
@@ -206,7 +206,7 @@ MRB_API mrb_noreturn void
mrb_exc_raise(mrb_state *mrb, mrb_value exc)
{
mrb->exc = mrb_obj_ptr(exc);
- if (!mrb->out_of_memory) {
+ if (!mrb->gc.out_of_memory) {
exc_debug_info(mrb, mrb->exc);
}
if (!mrb->jmp) {