summaryrefslogtreecommitdiffstats
path: root/Include/opcode.h
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-08-30 13:09:51 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-08-30 13:09:51 (GMT)
commit53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1 (patch)
treed2cfada7ddfa673a343155bfbad7de1166ea3790 /Include/opcode.h
parentb05e056e9f17f68daf106e1b018d1bbab2943148 (diff)
downloadcpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.zip
cpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.tar.gz
cpython-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.tar.bz2
Further SET_LINENO reomval fixes. See comments in patch #587933.
Use a slightly different strategy to determine when not to call the line trace function. This removes the need for the RETURN_NONE opcode, so that's gone again. Update docs and comments to match. Thanks to Neal and Armin! Also add a test suite. This should have come with the original patch...
Diffstat (limited to 'Include/opcode.h')
-rw-r--r--Include/opcode.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/opcode.h b/Include/opcode.h
index 28d0ae43..2f3dd04 100644
--- a/Include/opcode.h
+++ b/Include/opcode.h
@@ -71,9 +71,6 @@ 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