Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
75f94a7d
Kaydet (Commit)
75f94a7d
authored
Eyl 09, 2016
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove more READ_TIMESTAMP
üst
1cfe1d1f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
ceval.c
Python/ceval.c
+0
-12
No files found.
Python/ceval.c
Dosyayı görüntüle @
75f94a7d
...
...
@@ -2823,11 +2823,9 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
PyObject
*
fromlist
=
POP
();
PyObject
*
level
=
TOP
();
PyObject
*
res
;
READ_TIMESTAMP
(
intr0
);
res
=
import_name
(
f
,
name
,
fromlist
,
level
);
Py_DECREF
(
level
);
Py_DECREF
(
fromlist
);
READ_TIMESTAMP
(
intr1
);
SET_TOP
(
res
);
if
(
res
==
NULL
)
goto
error
;
...
...
@@ -2846,9 +2844,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
"no locals found during 'import *'"
);
goto
error
;
}
READ_TIMESTAMP
(
intr0
);
err
=
import_all_from
(
locals
,
from
);
READ_TIMESTAMP
(
intr1
);
PyFrame_LocalsToFast
(
f
,
0
);
Py_DECREF
(
from
);
if
(
err
!=
0
)
...
...
@@ -2860,9 +2856,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
PyObject
*
name
=
GETITEM
(
names
,
oparg
);
PyObject
*
from
=
TOP
();
PyObject
*
res
;
READ_TIMESTAMP
(
intr0
);
res
=
import_from
(
from
,
name
);
READ_TIMESTAMP
(
intr1
);
PUSH
(
res
);
if
(
res
==
NULL
)
goto
error
;
...
...
@@ -3298,9 +3292,7 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
assert
(
PyTuple_CheckExact
(
callargs
));
func
=
TOP
();
READ_TIMESTAMP
(
intr0
);
result
=
do_call_core
(
func
,
callargs
,
kwargs
);
READ_TIMESTAMP
(
intr1
);
Py_DECREF
(
func
);
Py_DECREF
(
callargs
);
Py_XDECREF
(
kwargs
);
...
...
@@ -3451,7 +3443,6 @@ _PyEval_EvalFrameDefault(PyFrameObject *f, int throwflag)
assert
(
0
);
error:
READ_TIMESTAMP
(
inst1
);
assert
(
why
==
WHY_NOT
);
why
=
WHY_EXCEPTION
;
...
...
@@ -3555,7 +3546,6 @@ fast_block_end:
if
(
why
!=
WHY_NOT
)
break
;
READ_TIMESTAMP
(
loop1
);
assert
(
!
PyErr_Occurred
());
...
...
@@ -4809,14 +4799,12 @@ call_function(PyObject ***pp_stack, Py_ssize_t oparg, PyObject *kwnames)
stack
=
(
*
pp_stack
)
-
nargs
-
nkwargs
;
READ_TIMESTAMP
(
*
pintr0
);
if
(
PyFunction_Check
(
func
))
{
x
=
fast_function
(
func
,
stack
,
nargs
,
kwnames
);
}
else
{
x
=
_PyObject_FastCallKeywords
(
func
,
stack
,
nargs
,
kwnames
);
}
READ_TIMESTAMP
(
*
pintr1
);
Py_DECREF
(
func
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment