Mercurial > cpython-lru_cache-weakref
diff Python/ceval.c @ 28303:470504ef578b legacy-trunk
Fix comment and whitespace.
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Sun, 16 Mar 2003 15:41:11 +0000 |
| parents | 8c082936daaf |
| children | b14d6741f496 |
line wrap: on
line diff
--- a/Python/ceval.c Sun Mar 16 03:11:04 2003 +0000 +++ b/Python/ceval.c Sun Mar 16 15:41:11 2003 +0000 @@ -609,7 +609,7 @@ followed by a POP_TOP. Verifying the prediction costs a single high-speed test of register - variable against a constant. If the pairing was good, then the odds + variable against a constant. If the pairing was good, then the processor has a high likelihood of making its own successful branch prediction which results in a nearly zero overhead transition to the next opcode. @@ -618,9 +618,10 @@ its two unpredictable branches, the HASARG test and the switch-case. */ -#define PREDICT(op) if (*next_instr == op) goto PRED_##op +#define PREDICT(op) if (*next_instr == op) goto PRED_##op #define PREDICTED(op) PRED_##op: next_instr++ -#define PREDICTED_WITH_ARG(op) PRED_##op: oparg = (next_instr += 3, (next_instr[-1]<<8) + next_instr[-2]) +#define PREDICTED_WITH_ARG(op) PRED_##op: oparg = (next_instr += 3, \ + (next_instr[-1]<<8) + next_instr[-2]) /* Stack manipulation macros */
