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

Side by Side Diff: cgen/templates/default/print_expr

Issue 14757: INCA: Inline Caching meets Quickening in Python 3.3
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:
View unified diff | Download patch
« no previous file with comments | « cgen/templates/default/pop_top ('k') | cgen/templates/default/raise_varargs » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1
2 TARGET(PRINT_EXPR)
3 v = POP();
4 w = PySys_GetObject("displayhook");
5 if (w == NULL) {
6 PyErr_SetString(PyExc_RuntimeError,
7 "lost sys.displayhook");
8 err = -1;
9 x = NULL;
10 }
11 if (err == 0) {
12 x = PyTuple_Pack(1, v);
13 if (x == NULL)
14 err = -1;
15 }
16 if (err == 0) {
17 w = PyEval_CallObject(w, x);
18 Py_XDECREF(w);
19 if (w == NULL)
20 err = -1;
21 }
22 Py_DECREF(v);
23 Py_XDECREF(x);
24 goto on_error;;
OLDNEW
« no previous file with comments | « cgen/templates/default/pop_top ('k') | cgen/templates/default/raise_varargs » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7