Commit aacf932f authored by Marius Wachtler's avatar Marius Wachtler

unicode_cls: set is_constant = true and is_user_defined = false

In order to allow rewrites.
I'm wondering if we can't enable this for more classes...
parent cb367205
......@@ -3353,6 +3353,8 @@ static void setupDefaultClassGCParticipation() {
// hundreds of thousands of unicode strings.
setTypeGCNone(unicode_cls);
unicode_cls->gc_visit = unicode_visit;
unicode_cls->is_constant = true;
unicode_cls->is_user_defined = false;
for (BoxedClass* cls : exception_types) {
setTypeGCNone(cls);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment