Add comments

This commit is contained in:
Raymond Hettinger 2007-12-20 01:25:05 +00:00
parent 0b7b6fdff3
commit dff1fd93ef
1 changed files with 3 additions and 3 deletions

View File

@ -3439,10 +3439,10 @@ static int
instrsize(struct instr *instr) instrsize(struct instr *instr)
{ {
if (!instr->i_hasarg) if (!instr->i_hasarg)
return 1; return 1; /* 1 byte for the opcode*/
if (instr->i_oparg > 0xffff) if (instr->i_oparg > 0xffff)
return 6; return 6; /* 1 (opcode) + 1 (EXTENDED_ARG opcode) + 2 (oparg) + 2(oparg extended) */
return 3; return 3; /* 1 (opcode) + 2 (oparg) */
} }
static int static int