Skip to content

Commit

Permalink
Allocate garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
peterzhu2118 authored and eightbitraptor committed Aug 13, 2020
1 parent 22fd617 commit 2261210
Show file tree
Hide file tree
Showing 8 changed files with 339 additions and 121 deletions.
2 changes: 2 additions & 0 deletions eval.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,10 @@ ruby_setup(void)

EC_PUSH_TAG(GET_EC());
if ((state = EC_EXEC_TAG()) == TAG_NONE) {
rb_gc_disable();
rb_call_inits();
ruby_prog_init();
rb_gc_enable();
GET_VM()->running = 1;
}
EC_POP_TAG();
Expand Down
Loading

0 comments on commit 2261210

Please sign in to comment.