Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
574780fd
Commit
574780fd
authored
Jul 07, 1995
by
Guido van Rossum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new opcodes RAISE_VARARGS, CALL_FUNCTION
parent
735c0450
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
Include/opcode.h
Include/opcode.h
+8
-0
No files found.
Include/opcode.h
View file @
574780fd
...
...
@@ -132,6 +132,14 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define SET_LINENO 127
/* Current line number */
/* It used to be the case that opcodes should fit in 7 bits. This is
no longer the case -- 8 bits is fine (the instruction stream is now
a sequence of unsigned characters). We gladly use the new space
for new opcodes. */
#define RAISE_VARARGS 130
/* Number of raise arguments (1, 2 or 3) */
#define CALL_FUNCTION 131
/* #args + (#kwargs<<8) */
/* Comparison operator codes (argument to COMPARE_OP) */
enum
cmp_op
{
LT
,
LE
,
EQ
,
NE
,
GT
,
GE
,
IN
,
NOT_IN
,
IS
,
IS_NOT
,
EXC_MATCH
,
BAD
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment