Commits

Mark Shannon committed 91155b7 Draft

Identify interpreter for illegal opcode

Comments (0)

Files changed (5)

 #endif
         default:
             fprintf(stderr,
-                "XXX lineno: %d, opcode: %d\n",
+                "XXX (ceval) lineno: %d, opcode: %d\n",
                 PyFrame_GetLineNumber(f),
                 opcode);
             PyErr_SetString(PyExc_SystemError, "unknown opcode");

Python/low_level_interpreter.c

 #endif
         default:
             fprintf(stderr,
-                "XXX lineno: %d, opcode: %d\n",
+                "XXX (low-level) lineno: %d, opcode: %d\n",
                 PyFrame_GetLineNumber(f),
                 opcode);
             PyErr_SetString(PyExc_SystemError, "unknown opcode");

Python/recording_interpreter.c

 #endif
         default:
             fprintf(stderr,
-                "XXX lineno: %d, opcode: %d\n",
+                "XXX (recording) lineno: %d, opcode: %d\n",
                 PyFrame_GetLineNumber(f),
                 next_instr[-1]);
             PyErr_SetString(PyExc_SystemError, "unknown opcode");

Python/register_interpreter.c

 #endif
         default:
             fprintf(stderr,
-                "XXX lineno: %d, opcode: %d %s\n",
+                "XXX (register) lineno: %d, opcode: %d %s\n",
                 PyFrame_GetLineNumber(f),
                 next_instr[-1] & 255, _HotPy_Instruction_Names[next_instr[-1] & 255]);
             PyErr_SetString(PyExc_SystemError, "(Register interpreter) unknown opcode");

Python/trace_interpreter.c

 #endif
         default:
             fprintf(stderr,
-                "XXX lineno: %d, opcode: %d %s\n",
+                "XXX (trace) lineno: %d, opcode: %d %s\n",
                 PyFrame_GetLineNumber(f),
                 next_instr[-1], _HotPy_Instruction_Names[next_instr[-1]]);
             PyErr_SetString(PyExc_SystemError, "(Trace interpreter) unknown opcode");
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.