pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2016-06-14
2016-06-14 09:13:37 by Arne Goedeke <el@laramies.com>
e97f40c0218dac35cf1f2ec9693e34449315662c (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
arne/faster_calls
Interpreter: seperate apply functions into several steps
2906:
bf = OBJ2_BACKTRACE_FRAME(o);
-
if ((bf->prog = f->context->prog)) {
+
if (
f->type == FRAME_PIKE_FUNCTION && f->context &&
(bf->prog = f->context->prog)) {
add_ref(bf->prog); bf->pc = f->pc; }
2914:
SET_SVAL(bf->_fun, PIKE_T_INT, NUMBER_DESTRUCTED, integer, 0); if (f->current_object && f->current_object->prog) {
-
if (f->
fun
==
FUNCTION
_BUILTIN) {
+
if (f->
type
==
FRAME
_BUILTIN) {
/* Unusual case. The frame is from call_c_initializers(), gc() * or similar. cf [bug 6156]. /grubba *