[pypy-svn] r22566 - pypy/dist/pypy/doc/discussion

cfbolz at codespeak.net cfbolz at codespeak.net
Tue Jan 24 10:51:25 CET 2006


Author: cfbolz
Date: Tue Jan 24 10:51:24 2006
New Revision: 22566

Modified:
   pypy/dist/pypy/doc/discussion/draft-jit-ideas.txt
Log:
(cfbolz, arigo)

Designed the functions that generate operations.



Modified: pypy/dist/pypy/doc/discussion/draft-jit-ideas.txt
==============================================================================
--- pypy/dist/pypy/doc/discussion/draft-jit-ideas.txt	(original)
+++ pypy/dist/pypy/doc/discussion/draft-jit-ideas.txt	Tue Jan 24 10:51:24 2006
@@ -90,6 +90,24 @@
 replace all the explicit building of Graph, Block, Link, Operation and
 Variable with calls to such operations.
 
+Functions:
+
+* gengraph() -> (opaque start link object)
+
+* genblock([list-of-CONCRETE_TYPES-of-inputargs]) -> (opaque block object)
+
+* genop(block, opname, [list-of-vars], RESULT_CONCRETE_TYPE) -> (result var)
+
+* genconst(block, llvalue) -> (result var)
+
+* genlink(block, exitcase-or-None, [list-of-vars]) -> (opaque link object)
+
+* genreturnlink(block, return-var) -> (opaque link object)
+
+* closeblock(block, exitswitch-var-or-None)
+
+* closelink(link, block)
+
 
 L3 interpreter
 ~~~~~~~~~~~~~~~~~~~



More information about the Pypy-commit mailing list