Author: Colin Valliant <[email protected]>
Branch: pep526
Changeset: r93918:d6987b09241a
Date: 2018-02-14 07:14 -0800
http://bitbucket.org/pypy/pypy/changeset/d6987b09241a/
Log: Stack effect values for new annotation opcodes.
diff --git a/pypy/interpreter/astcompiler/assemble.py
b/pypy/interpreter/astcompiler/assemble.py
--- a/pypy/interpreter/astcompiler/assemble.py
+++ b/pypy/interpreter/astcompiler/assemble.py
@@ -690,6 +690,9 @@
ops.POP_JUMP_IF_FALSE: -1,
ops.JUMP_IF_NOT_DEBUG: 0,
+ ops.SETUP_ANNOTATIONS: 0,
+ ops.STORE_ANNOTATION: -1,
+
# TODO
ops.BUILD_LIST_FROM_ARG: 1,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit