Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2688)

Delta Between Two Patch Sets: Python/opt/gen/debug-opcodes.h.gen

Issue 14757: INCA: Inline Caching meets Quickening in Python 3.3
Left Patch Set: Created 1 year ago
Right Patch Set: Created 1 year ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Python/opt/config.h ('k') | Python/opt/gen/inca-instr-decoding.h.gen » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This files was auto-generated on 2012-04-25T16:14:56.760061, please don't cha nge! 2 * This files was auto-generated on 2012-04-25T16:14:56.760061, please don't cha nge!
3 * Project-Id: contrib-3.3 3 * Project-Id: contrib-3.3
4 * Years: 2010, 2011, 2012 4 * Years: 2010, 2011, 2012
5 */ 5 */
6 6
7 static inline char* 7 static inline char*
8 debug_opcode(int opcode) { 8 debug_opcode(int opcode) {
9 void* lookup[]= { 9 void* lookup[]= {
10 (void*)"POP_TOP ", (void*)1, 10 (void*)"POP_TOP ", (void*)1,
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 }; 217 };
218 218
219 int i= 1; 219 int i= 1;
220 for (i= 1; i < ( 255 * 2); i+= 2) { 220 for (i= 1; i < ( 255 * 2); i+= 2) {
221 int elem= lookup[i]; 221 int elem= lookup[i];
222 if (elem == opcode) 222 if (elem == opcode)
223 return lookup[i - 1]; 223 return lookup[i - 1];
224 } // for i 224 } // for i
225 return " < UNKNOWN OPCODE > "; 225 return " < UNKNOWN OPCODE > ";
226 } // END debug_opcode 226 } // END debug_opcode
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7