xo-interpreter2: + xo-gc dep for primitives
This commit is contained in:
parent
3220cb1b59
commit
12d3b1a21c
3 changed files with 10 additions and 0 deletions
|
|
@ -31,6 +31,12 @@ namespace xo {
|
|||
return retval;
|
||||
}
|
||||
|
||||
VsmConfig with_x1_debug_flag(bool x) const {
|
||||
VsmConfig retval = *this;
|
||||
retval.x1_config_.debug_flag_ = x;
|
||||
return retval;
|
||||
}
|
||||
|
||||
/** true for interactive parser session; false for batch session **/
|
||||
bool interactive_flag_ = true;
|
||||
|
||||
|
|
|
|||
|
|
@ -86,6 +86,8 @@ namespace xo {
|
|||
}
|
||||
|
||||
this->global_env_ = reader_.global_env();
|
||||
|
||||
//this->_add_gc_roots();
|
||||
}
|
||||
|
||||
obj<AAllocator>
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
#include "SetupInterpreter2.hpp"
|
||||
|
||||
#include <xo/reader2/init_reader2.hpp>
|
||||
#include <xo/gc/init_gc.hpp>
|
||||
#include <xo/alloc2/CollectorTypeRegistry.hpp>
|
||||
|
||||
namespace xo {
|
||||
|
|
@ -31,6 +32,7 @@ namespace xo {
|
|||
|
||||
/* direct subsystem deps for xo-interpreter2/ */
|
||||
retval ^= InitSubsys<S_reader2_tag>::require();
|
||||
retval ^= InitSubsys<S_gc_tag>::require();
|
||||
|
||||
/* xo-interpreter2/'s own initialization code */
|
||||
retval ^= Subsystem::provide<S_interpreter2_tag>("interpreter2", &init);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue