Skip to content

Commit 202364f

Browse files
committedMar 2, 2016
Fixed defining GC stubs for IO class.
1 parent c1102f2 commit 202364f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

‎vm/builtin/io.hpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@ namespace rubinius {
4040

4141
class Info : public TypeInfo {
4242
public:
43-
BASIC_TYPEINFO(TypeInfo)
43+
Info(object_type type) : TypeInfo(type) { }
44+
void auto_mark(Object* obj, ObjectMark& mark) { }
45+
void set_field(STATE, Object* target, size_t index, Object* val) { }
46+
Object* get_field(STATE, Object* target, size_t index) { return cNil; }
47+
void populate_slot_locations() { }
4448
};
4549

4650
};

0 commit comments

Comments
 (0)
Please sign in to comment.