Commit cfcf8605 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Remove unused reference to result() in analysis

parent 9f4e7b8f
...@@ -2529,7 +2529,6 @@ class PyClassDefNode(ClassDefNode): ...@@ -2529,7 +2529,6 @@ class PyClassDefNode(ClassDefNode):
self.classobj.analyse_expressions(env) self.classobj.analyse_expressions(env)
genv = env.global_scope() genv = env.global_scope()
cenv = self.scope cenv = self.scope
cenv.class_dict_cname = self.dict.result() # TODO newtemps -- move to code generation
self.body.analyse_expressions(cenv) self.body.analyse_expressions(cenv)
self.target.analyse_target_expression(env, self.classobj) self.target.analyse_target_expression(env, self.classobj)
self.dict.release_temp(env) self.dict.release_temp(env)
......
...@@ -1182,7 +1182,6 @@ class ClassScope(Scope): ...@@ -1182,7 +1182,6 @@ class ClassScope(Scope):
class PyClassScope(ClassScope): class PyClassScope(ClassScope):
# Namespace of a Python class. # Namespace of a Python class.
# #
# class_dict_cname string C variable holding class dict
# class_obj_cname string C variable holding class object # class_obj_cname string C variable holding class object
is_py_class_scope = 1 is_py_class_scope = 1
......
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