Skip to content
Snippets Groups Projects
Commit c6742982 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added rule for LTOSVAL_CALL_BUILTIN_AND_ASSIGN_POP.

Rev: src/peep.in:1.82
parent 5f28056e
Branches
Tags 0.1
No related merge requests found
// This file is part of Pike. For copyright information see COPYRIGHT. // This file is part of Pike. For copyright information see COPYRIGHT.
// Pike is distributed under GPL, LGPL and MPL. See the file COPYING // Pike is distributed under GPL, LGPL and MPL. See the file COPYING
// for more information. // for more information.
// $Id: peep.in,v 1.81 2007/05/29 16:50:48 grubba Exp $ // $Id: peep.in,v 1.82 2008/01/29 20:05:34 grubba Exp $
NOP : NOP :
POP_N_ELEMS (0) : POP_N_ELEMS (0) :
...@@ -556,6 +556,8 @@ LOW_MKCALLOPTS(CALL_OTHER) ...@@ -556,6 +556,8 @@ LOW_MKCALLOPTS(CALL_OTHER)
CALL_BUILTIN1 POP_VALUE : CALL_BUILTIN1_AND_POP ($1a) CALL_BUILTIN1 POP_VALUE : CALL_BUILTIN1_AND_POP ($1a)
LTOSVAL_CALL_BUILTIN_AND_ASSIGN POP_VALUE : LTOSVAL_CALL_BUILTIN_AND_ASSIGN_POP($1a)
#define OPT_TYPEP(X,Y) \ #define OPT_TYPEP(X,Y) \
CALL_BUILTIN1 [ Pike_compiler->new_program->constants[$1a].sval.u.efun->function == X ] BRANCH_WHEN_ZERO : BRANCH_IF_TYPE_IS_NOT(Y) POINTER($2a); CALL_BUILTIN1 [ Pike_compiler->new_program->constants[$1a].sval.u.efun->function == X ] BRANCH_WHEN_ZERO : BRANCH_IF_TYPE_IS_NOT(Y) POINTER($2a);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment