Revision f74b32de tcg/ppc/tcg-target.c

b/tcg/ppc/tcg-target.c
907 907
        + LINKAGE_AREA_SIZE
908 908
        + TCG_STATIC_CALL_ARGS_SIZE
909 909
        + ARRAY_SIZE (tcg_target_callee_save_regs) * 4
910
        + CPU_TEMP_BUF_NLONGS * sizeof(long)
910 911
        ;
911 912
    frame_size = (frame_size + 15) & ~15;
912 913

  
914
    tcg_set_frame(s, TCG_REG_CALL_STACK, frame_size
915
                  - CPU_TEMP_BUF_NLONGS * sizeof(long),
916
                  CPU_TEMP_BUF_NLONGS * sizeof(long));
917

  
913 918
#ifdef _CALL_AIX
914 919
    {
915 920
        uint32_t addr;
......
1914 1919
#endif
1915 1920

  
1916 1921
    tcg_add_target_add_op_defs(ppc_op_defs);
1917
    tcg_set_frame(s, TCG_AREG0, offsetof(CPUState, temp_buf),
1918
                  CPU_TEMP_BUF_NLONGS * sizeof(long));
1919 1922
}

Also available in: Unified diff