Skip to content

Commit

Permalink
Fixed defining GC stubs for IO class.
Browse files Browse the repository at this point in the history
  • Loading branch information
brixen committed Mar 2, 2016
1 parent c1102f2 commit 202364f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vm/builtin/io.hpp
Expand Up @@ -40,7 +40,11 @@ namespace rubinius {

class Info : public TypeInfo {
public:
BASIC_TYPEINFO(TypeInfo)
Info(object_type type) : TypeInfo(type) { }
void auto_mark(Object* obj, ObjectMark& mark) { }
void set_field(STATE, Object* target, size_t index, Object* val) { }
Object* get_field(STATE, Object* target, size_t index) { return cNil; }
void populate_slot_locations() { }
};

};
Expand Down

0 comments on commit 202364f

Please sign in to comment.