Branch: Tag:

2014-09-23

2014-09-23 14:14:26 by Per Hedbor <ph@opera.com>

Fixed error in F_SIZEOF_LOCAL_STRING when the argument is not actually a string

3593:    je( &label_B );    /* It's something else, svalue already in ARG1. */    amd64_call_c_function( pike_sizeof ); +  jmp( label_A );    LABEL_B;    mov_mem32_reg( P_REG_RBX,OFFSETOF(pike_string, len ), P_REG_RAX );    /* Store result on stack */ -  +  LABEL_A;    amd64_push_int_reg( P_REG_RAX );    }    return;