From d86ba27577dce6dbba650e2238c8cc760d01885b Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Fri, 2 Oct 2009 03:30:02 -0500 Subject: [PATCH] vm: fix compile error with DEBUG=1 --- vm/local_roots.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/local_roots.hpp b/vm/local_roots.hpp index 300a971f16..22c95ed4dd 100644 --- a/vm/local_roots.hpp +++ b/vm/local_roots.hpp @@ -16,7 +16,7 @@ struct gc_root : public tagged ~gc_root() { #ifdef FACTOR_DEBUG - assert(myvm->gc_locals.back() == (cell)this); + assert(parent_vm->gc_locals.back() == (cell)this); #endif parent_vm->gc_locals.pop_back(); } @@ -35,7 +35,7 @@ struct gc_bignum ~gc_bignum() { #ifdef FACTOR_DEBUG - assert(myvm->gc_bignums.back() == (cell)addr); + assert(parent_vm->gc_bignums.back() == (cell)addr); #endif parent_vm->gc_bignums.pop_back(); }