pike.git
/
src
/
docode.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/docode.c:332:
case 0: my_yyerror("Void expression for %s",err); case 1: return; case 2: Pike_fatal("Internal compiler error (%s), line %ld, file %s\n", err, (long)THIS_COMPILATION->lex.current_line, THIS_COMPILATION->lex.current_file->str); } }
-
void do_cond_jump(node *n, int label, int iftrue, int flags)
+
static
void do_cond_jump(node *n, int label, int iftrue, int flags)
{ iftrue=!!iftrue; if((flags & DO_POP) && node_is_tossable(n)) { int t,f; t=!!node_is_true(n); f=!!node_is_false(n); if(t || f) { if(t == iftrue) do_branch( label);
pike.git/src/docode.c:435:
{ struct compilation *c = THIS_COMPILATION; emit0(F_MARK); PUSH_CLEANUP_FRAME(do_pop_mark, 0); do_docode(CDR(n),DO_NOT_COPY); emit0(F_CALL_FUNCTION); POP_AND_DONT_CLEANUP; return 1; }
-
static
INLINE
struct compiler_frame *find_local_frame(INT32 depth)
+
static struct compiler_frame *find_local_frame(INT32 depth)
{ struct compiler_frame *f=Pike_compiler->compiler_frame; while(--depth>=0) f=f->previous; return f; } /* Emit code for a function call to the identifier reference #id, * with the arguments specified by args. */ static int do_lfun_call(int id, node *args)