pike.git/
src/
interpret_functions.h
Branch:
Tag:
Non-build tags
All tags
No tags
2002-11-11
2002-11-11 16:12:52 by Henrik Grubbström (Grubba) <grubba@grubba.org>
4173b147c05bde524668b1e721c40c2d2c998d14 (
16
lines) (+
5
/-
11
)
[
Show
|
Annotate
]
Branch:
7.9
Added some more OPCODE
[01]
_ALIAS()'es.
Rev: src/interpret_functions.h:1.115
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.
114
2002/11/
10
20
:
19
:
18
grubba Exp $
+
|| $Id: interpret_functions.h,v 1.
115
2002/11/
11
16
:
12
:
52
grubba Exp $
*/ /*
1414:
} });
-
OPCODE0(F_COMPL, "~", 0,
{
-
o_compl
(
);
-
});
+
OPCODE0
_ALIAS
(F_COMPL, "~", 0, o_compl);
OPCODE0(F_NOT, "!", 0, { switch(Pike_sp[-1].type)
1444:
} });
-
OPCODE0(F_LSH, "<<", 0,
{
-
o_lsh
(
);
-
}
);
+
OPCODE0
_ALIAS
(F_LSH, "<<", 0, o_lsh);
+
OPCODE0_ALIAS(F_RSH, ">>", 0, o_rsh
);
-
OPCODE0(F_RSH, ">>", 0, {
-
o_rsh();
-
});
-
+
#define COMPARISON(ID,DESC,EXPR) \ OPCODE0(ID, DESC, 0, { \ INT32 val = EXPR; \