[pypy-svn] r34235 - pypy/dist/pypy/lang/js
santagada at codespeak.net
santagada at codespeak.net
Sun Nov 5 13:40:18 CET 2006
Author: santagada
Date: Sun Nov 5 13:40:15 2006
New Revision: 34235
Modified:
pypy/dist/pypy/lang/js/interpreter.py
Log:
missed a file
Modified: pypy/dist/pypy/lang/js/interpreter.py
==============================================================================
--- pypy/dist/pypy/lang/js/interpreter.py (original)
+++ pypy/dist/pypy/lang/js/interpreter.py Sun Nov 5 13:40:15 2006
@@ -159,13 +159,13 @@
constructor = scope_manager.get_variable(self.identifier)
obj = W_Object({})
obj.Class = 'Object'
+ #it should be undefined... to be completed
obj.dict_w['prototype'] = constructor.dict_w['prototype']
#nctx = ExecutionContext(context)
#nctx.assign('this',obj)
#print nctx.locals.keys()
constructor.Call(context, this = obj)
-
return obj
More information about the Pypy-commit
mailing list