pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-15
2014-08-15 12:31:00 by Per Hedbor <ph@opera.com>
49c5e6702854ebabd15332369563984d6c590b6d (
20
lines) (+
3
/-
17
)
[
Show
|
Annotate
]
Branch:
8.0
Removed a bunch of commented out misleading debug
(copy paste much? :)
114:
#else /* !PIKE_DEBUG */
-
#define GET_JUMP() (
/*write_to_stderr("GET_JUMP\n", 9),*/
LOW_GET_JUMP())
-
#define SKIPJUMP() (
/*write_to_stderr("SKIPJUMP\n", 9),*/
LOW_SKIPJUMP())
+
#define GET_JUMP() (LOW_GET_JUMP())
+
#define SKIPJUMP() (LOW_SKIPJUMP())
#endif /* PIKE_DEBUG */
1271:
OPCODE0_TAILBRANCH(F_BRANCH_WHEN_ZERO, "branch if zero", I_UPDATE_SP, { if(!UNSAFE_IS_ZERO(Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1330:
} if(TYPEOF(Pike_sp[-1]) == arg1) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1341:
OPCODE1_BRANCH(F_BRANCH_IF_LOCAL, "branch if local", 0, { if(UNSAFE_IS_ZERO(Pike_fp->locals + arg1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1351:
OPCODE1_BRANCH(F_BRANCH_IF_NOT_LOCAL, "branch if !local", 0, { if(!UNSAFE_IS_ZERO(Pike_fp->locals + arg1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1363:
if(Y(Pike_sp-2,Pike_sp-1)) { \ DO_BRANCH(); \ }else{ \
-
/* write_to_stderr("foreach\n", 8); */ \
+
DONT_BRANCH(); \ } \ pop_2_elems(); \
1379:
OPCODE0_BRANCH(F_BRANCH_AND_POP_WHEN_ZERO, "branch & pop if zero", 0, { if(!UNSAFE_IS_ZERO(Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1390:
OPCODE0_BRANCH(F_BRANCH_AND_POP_WHEN_NON_ZERO, "branch & pop if !zero", 0, { if(UNSAFE_IS_ZERO(Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); }else{ DO_BRANCH();
1401:
OPCODE0_BRANCH(F_LAND, "&&", I_UPDATE_SP, { if(!UNSAFE_IS_ZERO(Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); pop_stack(); }else{
1412:
OPCODE0_BRANCH(F_LOR, "||", I_UPDATE_SP, { if(UNSAFE_IS_ZERO(Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); pop_stack(); }else{
1423:
OPCODE0_BRANCH(F_EQ_OR, "==||", I_UPDATE_SP, { if(!is_eq(Pike_sp-2,Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); pop_2_elems(); }else{
1436:
OPCODE0_BRANCH(F_EQ_AND, "==&&", I_UPDATE_SP, { if(is_eq(Pike_sp-2,Pike_sp-1)) {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); pop_2_elems(); }else{
1640:
{ \ DO_BRANCH(); \ }else{ \
-
/* write_to_stderr("loop\n", 8); */ \
+
DONT_BRANCH(); \ } \ }else{ \
1652:
{ \ DO_BRANCH(); \ }else{ \
-
/* write_to_stderr("loop\n", 8); */ \
+
DONT_BRANCH(); \ } \ pop_stack(); \
1682:
o_subtract(); DO_BRANCH(); } else {
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); pop_2_elems(); }
1704:
Pike_fatal ("Got unexpected subtype in loop variable.\n"); ); }else{
-
/* write_to_stderr("foreach\n", 8); */
+
DONT_BRANCH(); } });