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

Delta Between Two Patch Sets: cgen/templates/default/import_name

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 | « cgen/templates/default/import_from ('k') | cgen/templates/default/import_star » ('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 TARGET(IMPORT_NAME) 2 TARGET(IMPORT_NAME)
3 w = GETITEM(names, oparg); 3 w = GETITEM(names, oparg);
4 x = PyDict_GetItemString(f->f_builtins, "__import__"); 4 x = PyDict_GetItemString(f->f_builtins, "__import__");
5 if (x == NULL) { 5 if (x == NULL) {
6 PyErr_SetString(PyExc_ImportError, 6 PyErr_SetString(PyExc_ImportError,
7 "__import__ not found"); 7 "__import__ not found");
8 goto on_error;; 8 goto on_error;;
9 } 9 }
10 Py_INCREF(x); 10 Py_INCREF(x);
(...skipping 25 matching lines...) Expand all
36 READ_TIMESTAMP(intr0); 36 READ_TIMESTAMP(intr0);
37 v = x; 37 v = x;
38 x = PyEval_CallObject(v, w); 38 x = PyEval_CallObject(v, w);
39 Py_DECREF(v); 39 Py_DECREF(v);
40 READ_TIMESTAMP(intr1); 40 READ_TIMESTAMP(intr1);
41 Py_DECREF(w); 41 Py_DECREF(w);
42 SET_TOP(x); 42 SET_TOP(x);
43 if (x != NULL) DISPATCH(); 43 if (x != NULL) DISPATCH();
44 goto on_error;; 44 goto on_error;;
45 45
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7