]> gitweb.factorcode.org Git - factor.git/blobdiff - vm/code_roots.hpp
audio.engine.test: cleanup using
[factor.git] / vm / code_roots.hpp
index 8065c939c1452a17cc3774fb44710fc010f5b229..ba525d0daca715d298e55cfc04fcfd9a4143f11b 100644 (file)
@@ -7,15 +7,13 @@ struct code_root {
 
   void push() { parent->code_roots.push_back(this); }
 
-  code_root(cell value_, factor_vm* parent_)
-      : value(value_), valid(true), parent(parent_) {
+  code_root(cell value, factor_vm* parent)
+      : value(value), valid(true), parent(parent) {
     push();
   }
 
   ~code_root() {
-#ifdef FACTOR_DEBUG
     FACTOR_ASSERT(parent->code_roots.back() == this);
-#endif
     parent->code_roots.pop_back();
   }
 };