pike.git / src / docode.c

version» Context lines:

pike.git/src/docode.c:614:    else    emit1(F_APPLY, (INT32)tmp1);    break;       default:    my_yyerror("docode: Failed to make call to %s",func);    }    free_node(n);   }    + static void emit_automap_marker(void) + { +  if (master_object) { +  emit_apply_builtin("__builtin.automap_marker"); +  } else { +  emit_apply_builtin("_static_modules.Builtin.automap_marker"); +  } + } +    static int do_encode_automap_arg_list(node *n,    int flags)   {    struct compilation *c = THIS_COMPILATION;    int stack_depth_save = current_stack_depth;    if(!n) return 0;    switch(n->token)    {    default:    return do_docode(n, flags);
pike.git/src/docode.c:647:    int depth=0;    while(n->token == F_AUTO_MAP_MARKER)    {    n=CAR(n);    depth++;    }    emit0(F_MARK);    PUSH_CLEANUP_FRAME(do_pop_mark, 0);    code_expression(n, 0, "[*]");    emit1(F_NUMBER, depth); -  emit_apply_builtin("__builtin.automap_marker"); +  emit_automap_marker();    POP_AND_DONT_CLEANUP;    return 1;    }    }   }      static void emit_builtin_svalue(char *func)   {    INT32 tmp1;    struct compilation *c = THIS_COMPILATION;
pike.git/src/docode.c:1612: Inside #if defined(PIKE_DEBUG)
   if(tmp1 != 2)    Pike_fatal("HELP! FATAL INTERNAL COMPILER ERROR (1)\n");   #endif       PUSH_CLEANUP_FRAME(do_pop_mark, 0);    emit0(F_MARK);    PUSH_CLEANUP_FRAME(do_pop_mark, 0);    emit0(F_MARK);    emit0(F_LTOSVAL);    emit1(F_NUMBER, depth); -  emit_apply_builtin("__builtin.automap_marker"); +  emit_automap_marker();    POP_AND_DONT_CLEANUP;    emit_builtin_svalue("`+");    emit2(F_REARRANGE,1,1);    emit1(F_NUMBER, 1);    emit_apply_builtin("__automap__");    POP_AND_DONT_CLEANUP;       if(flags & DO_POP)    {    emit0(F_ASSIGN_AND_POP);
pike.git/src/docode.c:1678: Inside #if defined(PIKE_DEBUG)
   if(tmp1 != 2)    Pike_fatal("HELP! FATAL INTERNAL COMPILER ERROR (1)\n");   #endif       PUSH_CLEANUP_FRAME(do_pop_mark, 0);    emit0(F_MARK);    PUSH_CLEANUP_FRAME(do_pop_mark, 0);    emit0(F_MARK);    emit0(F_LTOSVAL);    emit1(F_NUMBER, depth); -  emit_apply_builtin("__builtin.automap_marker"); +  emit_automap_marker();    POP_AND_DONT_CLEANUP;    emit_builtin_svalue("`-");    emit2(F_REARRANGE,1,1);    emit1(F_NUMBER, 1);    emit_apply_builtin("__automap__");    POP_AND_DONT_CLEANUP;       if(flags & DO_POP)    {    emit0(F_ASSIGN_AND_POP);