summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-08-15 14:59:02 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-08-15 14:59:02 (GMT)
commitdd32a91cc0c8ba178d7ee5e78c30b6920aff66f4 (patch)
tree1a2062b54d3445ca788fd63c2bc63984dd85f34a /Include
parentadd88060c1d1a98c7970e35b326e6a65a17ddf04 (diff)
downloadcpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.zip
cpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.tar.gz
cpython-dd32a91cc0c8ba178d7ee5e78c30b6920aff66f4.tar.bz2
This is my patch
[ 587993 ] SET_LINENO killer Remove SET_LINENO. Tracing is now supported by inspecting co_lnotab. Many sundry changes to document and adapt to this change.
Diffstat (limited to 'Include')
-rw-r--r--Include/opcode.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 2e20246..28d0ae43 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -71,6 +71,9 @@ extern "C" {
#define INPLACE_OR 79
#define BREAK_LOOP 80
+#define RETURN_NONE 81 /* *only* for function epilogues
+ -- see comments in
+ ceval.c:maybe_call_line_trace for why */
#define LOAD_LOCALS 82
#define RETURN_VALUE 83
#define IMPORT_STAR 84
@@ -119,8 +122,6 @@ extern "C" {
#define STORE_FAST 125 /* Local variable number */
#define DELETE_FAST 126 /* Local variable number */
-#define SET_LINENO 127 /* Current line number */
-
#define RAISE_VARARGS 130 /* Number of raise arguments (1, 2 or 3) */
/* CALL_FUNCTION_XXX opcodes defined below depend on this definition */
#define CALL_FUNCTION 131 /* #args + (#kwargs<<8) */