[pypy-commit] lang-js default: cleanup

stepahn noreply at buildbot.pypy.org
Fri Dec 28 11:34:33 CET 2012


Author: Stephan <stephan at stzal.com>
Branch: 
Changeset: r252:e79a0698ef86
Date: 2012-06-05 18:31 +0200
http://bitbucket.org/pypy/lang-js/changeset/e79a0698ef86/

Log:	cleanup

diff --git a/js/interpreter.py b/js/interpreter.py
--- a/js/interpreter.py
+++ b/js/interpreter.py
@@ -1,5 +1,3 @@
-from js.jscode import JsCode
-
 from pypy.rlib.objectmodel import we_are_translated
 from pypy.rlib.streamio import open_file_as_stream
 
@@ -70,15 +68,3 @@
 
         result = c.run(ctx)
         return result.value
-
-        #"""run the interpreter"""
-        #bytecode = JsCode()
-        #script.emit(bytecode)
-        #if not we_are_translated():
-            ## debugging
-            #self._code = bytecode
-        #func = bytecode.make_js_function()
-        #if interactive:
-        #    return func._run_with_context(self.global_context)
-        #else:
-        #    func._run_with_context(self.global_context)


More information about the pypy-commit mailing list