diff options
| author | Michael W. Hudson <mwh@python.net> | 2002-08-30 13:09:51 +0000 |
|---|---|---|
| committer | Michael W. Hudson <mwh@python.net> | 2002-08-30 13:09:51 +0000 |
| commit | 53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1 (patch) | |
| tree | d2cfada7ddfa673a343155bfbad7de1166ea3790 /Include/opcode.h | |
| parent | b05e056e9f17f68daf106e1b018d1bbab2943148 (diff) | |
| download | cpython-git-53d58bb369fbbc1ae93ca423f30b3beb2d83a9a1.tar.gz | |
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.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/opcode.h b/Include/opcode.h index 28d0ae43b1..2f3dd04ba4 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 |
