diff Include/opcode.h @ 24844:cf5928fab108 legacy-trunk

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.
author Michael W. Hudson <mwh@python.net>
date Thu, 15 Aug 2002 14:59:02 +0000
parents e4272ad1a636
children be2868a63ed5
line wrap: on
line diff
--- a/Include/opcode.h	Thu Aug 15 14:01:14 2002 +0000
+++ b/Include/opcode.h	Thu Aug 15 14:59:02 2002 +0000
@@ -71,6 +71,9 @@
 #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 @@
 #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) */