• Dmitry Frank's avatar
    Add v7 arg to _mk_ and _get_ functions · 177e829f
    Dmitry Frank authored
    `v7_mk_undefined()` and `v7_mk_null()` are left unchanged, but marked
    deprecated, and `V7_UNDEFINED` and `V7_NULL` are public now.
    
    Xtensa code size with instrumentation: 590400 -> 590432, i.e. 32 bytes.
    Xtensa code size without instrumentation: 530848 -> 531760, i.e. 912
    bytes.
    
    As objdump reveals, inside v7.c, `v7_mk_number` and others are inlined,
    so the extra v7 argument is eliminated; outside of v7.c it's obviously
    not inlined.
    
    ----
    
    Also, v7_get_int() is added, which currently just casts stored double
    value to int
    
    PUBLISHED_FROM=e984b7308faf2380b3de388f238e0fae0aea545d
    177e829f
Name
Last commit
Last update
..
MG_MK_STR.md Loading commit data...
intro.md Loading commit data...
items.json Loading commit data...
mg_avprintf.md Loading commit data...
mg_base64_decode.md Loading commit data...
mg_base64_encode.md Loading commit data...
mg_casecmp.md Loading commit data...
mg_conn_addr_to_str.md Loading commit data...
mg_fopen.md Loading commit data...
mg_hexdump.md Loading commit data...
mg_hexdump_connection.md Loading commit data...
mg_is_big_endian.md Loading commit data...
mg_match_prefix.md Loading commit data...
mg_mk_str.md Loading commit data...
mg_ncasecmp.md Loading commit data...
mg_next_comma_list_entry.md Loading commit data...
mg_open.md Loading commit data...
mg_skip.md Loading commit data...
mg_sock_addr_to_str.md Loading commit data...
mg_sock_to_str.md Loading commit data...
mg_start_thread.md Loading commit data...
mg_stat.md Loading commit data...
mg_vcasecmp.md Loading commit data...
mg_vcmp.md Loading commit data...