pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2005-06-20
2005-06-20 12:52:01 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4ece7665aa1bafd1cfa3fa7e79f0ad39c0519411 (
11
lines) (+
4
/-
7
)
[
Show
|
Annotate
]
Branch:
7.9
Now uses push_obj_index().
Rev: src/interpret_functions.h:1.185
2:
|| This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: interpret_functions.h,v 1.
184
2005/
05
/
19
22
:
35
:
28
mast
Exp $
+
|| $Id: interpret_functions.h,v 1.
185
2005/
06
/
20
12
:
52
:
01
grubba
Exp $
*/ /*
429:
}); ref_push_object(loc.o);
-
Pike
_
sp->type=T
_
OBJ_INDEX;
-
Pike_sp->u.integer=
arg1 + loc.inherit->identifier_level;
-
Pike_sp++;
+
push
_
obj
_
index(
arg1 + loc.inherit->identifier_level
)
;
}); OPCODE1(F_MARK_AND_LOCAL, "mark & local", I_UPDATE_SP|I_UPDATE_M_SP, {
659:
Pike_sp[-1].type = PIKE_T_INT; Pike_sp++; lvalue_to_svalue_no_free(Pike_sp-2, Pike_sp-4);
-
+
/* This is so that foo+=bar (and similar things) will be faster. * It's done by freeing the old reference to foo after it has been * pushed on the stack. That way foo can have only 1 reference if we
852:
OPCODE1(F_GLOBAL_LVALUE, "& global", I_UPDATE_SP, { ref_push_object(Pike_fp->current_object);
-
push_
int
(
arg1
+ Pike_fp->context.identifier_level);
-
Pike_sp[-1].type = T_OBJ_INDEX;
+
push_
obj_index
(
rg1
+ Pike_fp->context.identifier_level);
}); OPCODE0(F_INC, "++x", I_UPDATE_SP, {