chore: update stage0
This commit is contained in:
parent
2ed025ade8
commit
126fca1ec8
51 changed files with 70857 additions and 39481 deletions
6
stage0/src/runtime/object.cpp
generated
6
stage0/src/runtime/object.cpp
generated
|
|
@ -1952,8 +1952,10 @@ extern "C" LEAN_EXPORT obj_res lean_decode_lossy_utf8(b_obj_arg a) {
|
|||
return lean_mk_string_from_bytes(reinterpret_cast<char *>(lean_sarray_cptr(a)), lean_sarray_size(a));
|
||||
}
|
||||
|
||||
extern "C" LEAN_EXPORT obj_res lean_string_from_utf8_unchecked(b_obj_arg a) {
|
||||
return lean_mk_string_from_bytes_unchecked(reinterpret_cast<char *>(lean_sarray_cptr(a)), lean_sarray_size(a));
|
||||
extern "C" LEAN_EXPORT obj_res lean_string_from_utf8_unchecked(obj_arg a) {
|
||||
obj_res ret = lean_mk_string_from_bytes_unchecked(reinterpret_cast<char *>(lean_sarray_cptr(a)), lean_sarray_size(a));
|
||||
lean_dec(a);
|
||||
return ret;
|
||||
}
|
||||
|
||||
extern "C" LEAN_EXPORT uint8 lean_string_validate_utf8(b_obj_arg a) {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
// update me!
|
||||
#include "util/options.h"
|
||||
|
||||
namespace lean {
|
||||
|
|
|
|||
8
stage0/stdlib/Init/Data/String/Basic.c
generated
8
stage0/stdlib/Init/Data/String/Basic.c
generated
|
|
@ -1331,6 +1331,7 @@ _start:
|
|||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = lean_string_validate_utf8(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1463,6 +1464,7 @@ _start:
|
|||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_instDecidableIsValidUTF8(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -1471,7 +1473,6 @@ LEAN_EXPORT lean_object* l_String_fromUTF8_x3f(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
lean_inc_ref(x_1);
|
||||
x_2 = lean_string_validate_utf8(x_1);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
|
|
@ -1539,7 +1540,6 @@ LEAN_EXPORT lean_object* l_String_fromUTF8_x21(lean_object* x_1) {
|
|||
_start:
|
||||
{
|
||||
uint8_t x_2;
|
||||
lean_inc_ref(x_1);
|
||||
x_2 = lean_string_validate_utf8(x_1);
|
||||
if (x_2 == 0)
|
||||
{
|
||||
|
|
@ -3286,6 +3286,8 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -3294,6 +3296,8 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
55
stage0/stdlib/Init/Data/String/Extra.c
generated
55
stage0/stdlib/Init/Data/String/Extra.c
generated
|
|
@ -19,6 +19,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumL
|
|||
uint8_t lean_byte_array_fget(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_toNat_x21(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces___boxed(lean_object*, lean_object*);
|
||||
uint32_t lean_uint8_to_uint32(uint8_t);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_findNextLine(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_removeLeadingSpaces(lean_object*);
|
||||
|
|
@ -47,6 +48,7 @@ LEAN_EXPORT lean_object* l_String_utf8DecodeChar_x3f___boxed(lean_object*, lean_
|
|||
LEAN_EXPORT uint8_t l_String_Slice_find_x3f___at___00__private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_spec__0___redArg___lam__0(uint32_t);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_find_x3f___at___00__private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_spec__0(lean_object*, lean_object*);
|
||||
uint8_t l_String_anyAux___at___00String_toNat_x3f_spec__1(uint8_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___redArg(lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_string_utf8_at_end(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_find_x3f___at___00__private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_spec__0___redArg___lam__0___boxed(lean_object*);
|
||||
|
|
@ -83,6 +85,7 @@ LEAN_EXPORT lean_object* l_String_utf8DecodeChar_x3f(lean_object*, lean_object*)
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_panic___at___00String_toNat_x21_spec__0(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_saveLine___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_byte_array_size(lean_object*);
|
||||
uint8_t lean_uint8_dec_eq(uint8_t, uint8_t);
|
||||
LEAN_EXPORT lean_object* l_panic___at___00String_toNat_x21_spec__0(lean_object* x_1) {
|
||||
|
|
@ -555,6 +558,7 @@ _start:
|
|||
{
|
||||
uint8_t x_2; lean_object* x_3;
|
||||
x_2 = l_String_validateUTF8(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
x_3 = lean_box(x_2);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -595,8 +599,8 @@ x_10 = lean_uint32_dec_eq(x_7, x_9);
|
|||
if (x_10 == 0)
|
||||
{
|
||||
lean_object* x_11; uint8_t x_12;
|
||||
lean_inc_ref(x_1);
|
||||
x_11 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_12 = lean_nat_dec_le(x_3, x_4);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
|
|
@ -617,8 +621,8 @@ else
|
|||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec(x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_15 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_16 = l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_findNextLine(x_1, x_15, x_4);
|
||||
return x_16;
|
||||
}
|
||||
|
|
@ -626,8 +630,8 @@ return x_16;
|
|||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_inc_ref(x_1);
|
||||
x_17 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_18 = lean_unsigned_to_nat(1u);
|
||||
x_19 = lean_nat_add(x_3, x_18);
|
||||
lean_dec(x_3);
|
||||
|
|
@ -641,7 +645,6 @@ else
|
|||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_4);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -663,16 +666,16 @@ x_8 = lean_uint32_dec_eq(x_6, x_7);
|
|||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc_ref(x_1);
|
||||
x_9 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13;
|
||||
lean_inc_ref(x_1);
|
||||
x_11 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_13 = l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_consumeSpaces(x_1, x_11, x_12, x_3);
|
||||
return x_13;
|
||||
|
|
@ -681,7 +684,6 @@ return x_13;
|
|||
else
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_3);
|
||||
return x_3;
|
||||
}
|
||||
|
|
@ -693,6 +695,7 @@ _start:
|
|||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_consumeSpaces(x_1, x_2, x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -702,6 +705,7 @@ _start:
|
|||
lean_object* x_4;
|
||||
x_4 = l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_findNextLine(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -926,6 +930,7 @@ lean_dec_ref(x_6);
|
|||
x_8 = lean_string_length(x_1);
|
||||
x_9 = l___private_Init_Data_String_Extra_0__String_findLeadingSpacesSize_consumeSpaces(x_1, x_7, x_3, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -1035,8 +1040,8 @@ return x_14;
|
|||
else
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_inc_ref(x_3);
|
||||
x_15 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_2 = x_12;
|
||||
x_4 = x_15;
|
||||
goto _start;
|
||||
|
|
@ -1046,7 +1051,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_dec(x_4);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
|
|
@ -1070,8 +1074,8 @@ x_9 = lean_uint32_dec_eq(x_7, x_8);
|
|||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11;
|
||||
lean_inc_ref(x_2);
|
||||
x_10 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_11 = lean_string_push(x_4, x_7);
|
||||
x_3 = x_10;
|
||||
x_4 = x_11;
|
||||
|
|
@ -1080,8 +1084,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14; lean_object* x_15;
|
||||
lean_inc_ref(x_2);
|
||||
x_13 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_14 = lean_string_push(x_4, x_8);
|
||||
lean_inc(x_1);
|
||||
x_15 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces(x_1, x_1, x_2, x_13, x_14);
|
||||
|
|
@ -1091,12 +1095,29 @@ return x_15;
|
|||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec_ref(x_3);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_saveLine___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_saveLine(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consumeSpaces_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1167,6 +1188,15 @@ x_5 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces_consum
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_removeLeadingSpaces(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1179,6 +1209,7 @@ if (x_4 == 0)
|
|||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_Data_String_Extra_0__String_removeNumLeadingSpaces(x_2, x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
else
|
||||
|
|
|
|||
8
stage0/stdlib/Init/System/IO.c
generated
8
stage0/stdlib/Init/System/IO.c
generated
|
|
@ -6026,7 +6026,6 @@ if (x_4 == 0)
|
|||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_string_validate_utf8(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -6051,7 +6050,6 @@ lean_object* x_9; uint8_t x_10;
|
|||
x_9 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_string_validate_utf8(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -8980,7 +8978,6 @@ if (x_4 == 0)
|
|||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_string_validate_utf8(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -9010,7 +9007,6 @@ lean_object* x_13; uint8_t x_14;
|
|||
x_13 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_string_validate_utf8(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -11924,7 +11920,6 @@ x_9 = lean_st_ref_set(x_1, x_8);
|
|||
x_10 = l_ByteArray_extract(x_4, x_5, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_4);
|
||||
lean_inc_ref(x_10);
|
||||
x_11 = lean_string_validate_utf8(x_10);
|
||||
if (x_11 == 0)
|
||||
{
|
||||
|
|
@ -12207,7 +12202,6 @@ if (x_4 == 0)
|
|||
{
|
||||
lean_object* x_5; uint8_t x_6;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_5);
|
||||
x_6 = lean_string_validate_utf8(x_5);
|
||||
if (x_6 == 0)
|
||||
{
|
||||
|
|
@ -12232,7 +12226,6 @@ lean_object* x_9; uint8_t x_10;
|
|||
x_9 = lean_ctor_get(x_3, 0);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_string_validate_utf8(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -12582,7 +12575,6 @@ lean_object* x_4; lean_object* x_8; uint8_t x_9;
|
|||
x_8 = lean_ctor_get(x_3, 0);
|
||||
lean_inc_ref(x_8);
|
||||
lean_dec_ref(x_3);
|
||||
lean_inc_ref(x_8);
|
||||
x_9 = lean_string_validate_utf8(x_8);
|
||||
if (x_9 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Init/System/Uri.c
generated
1
stage0/stdlib/Init/System/Uri.c
generated
|
|
@ -668,7 +668,6 @@ lean_dec(x_3);
|
|||
x_7 = lean_ctor_get(x_6, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_inc(x_7);
|
||||
x_8 = lean_string_validate_utf8(x_7);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
|
|
|
|||
6
stage0/stdlib/Lake/Build/Job/Monad.c
generated
6
stage0/stdlib/Lake/Build/Job/Monad.c
generated
|
|
@ -3482,7 +3482,6 @@ x_40 = lean_ctor_get(x_35, 2);
|
|||
x_41 = lean_ctor_get(x_36, 0);
|
||||
lean_inc_ref(x_41);
|
||||
lean_dec_ref(x_36);
|
||||
lean_inc_ref(x_41);
|
||||
x_73 = lean_string_validate_utf8(x_41);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
|
|
@ -3746,7 +3745,6 @@ x_35 = lean_ctor_get(x_30, 2);
|
|||
x_61 = lean_ctor_get(x_31, 0);
|
||||
lean_inc_ref(x_61);
|
||||
lean_dec_ref(x_31);
|
||||
lean_inc_ref(x_61);
|
||||
x_62 = lean_string_validate_utf8(x_61);
|
||||
if (x_62 == 0)
|
||||
{
|
||||
|
|
@ -4338,7 +4336,6 @@ x_41 = lean_ctor_get(x_36, 2);
|
|||
x_67 = lean_ctor_get(x_37, 0);
|
||||
lean_inc_ref(x_67);
|
||||
lean_dec_ref(x_37);
|
||||
lean_inc_ref(x_67);
|
||||
x_68 = lean_string_validate_utf8(x_67);
|
||||
if (x_68 == 0)
|
||||
{
|
||||
|
|
@ -4521,7 +4518,6 @@ x_99 = lean_ctor_get(x_94, 2);
|
|||
x_114 = lean_ctor_get(x_95, 0);
|
||||
lean_inc_ref(x_114);
|
||||
lean_dec_ref(x_95);
|
||||
lean_inc_ref(x_114);
|
||||
x_115 = lean_string_validate_utf8(x_114);
|
||||
if (x_115 == 0)
|
||||
{
|
||||
|
|
@ -5038,7 +5034,6 @@ x_46 = lean_ctor_get(x_41, 2);
|
|||
x_47 = lean_ctor_get(x_42, 0);
|
||||
lean_inc_ref(x_47);
|
||||
lean_dec_ref(x_42);
|
||||
lean_inc_ref(x_47);
|
||||
x_79 = lean_string_validate_utf8(x_47);
|
||||
if (x_79 == 0)
|
||||
{
|
||||
|
|
@ -5232,7 +5227,6 @@ x_105 = lean_ctor_get(x_100, 2);
|
|||
x_106 = lean_ctor_get(x_101, 0);
|
||||
lean_inc_ref(x_106);
|
||||
lean_dec_ref(x_101);
|
||||
lean_inc_ref(x_106);
|
||||
x_125 = lean_string_validate_utf8(x_106);
|
||||
if (x_125 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Build/Job/Register.c
generated
1
stage0/stdlib/Lake/Build/Job/Register.c
generated
|
|
@ -905,7 +905,6 @@ lean_dec(x_12);
|
|||
x_73 = lean_ctor_get(x_72, 0);
|
||||
lean_inc_ref(x_73);
|
||||
lean_dec_ref(x_72);
|
||||
lean_inc_ref(x_73);
|
||||
x_90 = lean_string_validate_utf8(x_73);
|
||||
if (x_90 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Build/Module.c
generated
1
stage0/stdlib/Lake/Build/Module.c
generated
|
|
@ -32793,6 +32793,7 @@ x_38 = lean_ctor_get(x_7, 8);
|
|||
x_39 = lean_ctor_get(x_7, 9);
|
||||
x_40 = l_Lake_Package_id_x3f(x_4);
|
||||
x_41 = l_Lean_mkModuleInitializationStem(x_5, x_40);
|
||||
lean_dec(x_40);
|
||||
x_42 = l_System_FilePath_normalize(x_34);
|
||||
x_43 = l_Lake_joinRelative(x_27, x_42);
|
||||
x_44 = l_System_FilePath_normalize(x_35);
|
||||
|
|
|
|||
2
stage0/stdlib/Lake/Config/LeanLib.c
generated
2
stage0/stdlib/Lake/Config/LeanLib.c
generated
|
|
@ -642,6 +642,7 @@ lean_dec_ref(x_10);
|
|||
lean_inc_ref(x_8);
|
||||
x_19 = l_Lake_Package_id_x3f(x_8);
|
||||
x_20 = l_Lean_mkModuleInitializationStem(x_9, x_19);
|
||||
lean_dec(x_19);
|
||||
x_12 = x_20;
|
||||
goto block_15;
|
||||
}
|
||||
|
|
@ -821,6 +822,7 @@ x_10 = lean_array_fget(x_4, x_9);
|
|||
lean_dec_ref(x_4);
|
||||
x_11 = l_Lake_Package_id_x3f(x_3);
|
||||
x_12 = l_Lean_mkModuleInitializationStem(x_10, x_11);
|
||||
lean_dec(x_11);
|
||||
x_13 = lean_string_dec_eq(x_8, x_12);
|
||||
lean_dec_ref(x_12);
|
||||
lean_dec_ref(x_8);
|
||||
|
|
|
|||
2
stage0/stdlib/Lake/Config/Module.c
generated
2
stage0/stdlib/Lake/Config/Module.c
generated
|
|
@ -2670,6 +2670,7 @@ lean_inc_ref(x_4);
|
|||
lean_dec_ref(x_2);
|
||||
x_5 = l_Lake_Package_id_x3f(x_4);
|
||||
x_6 = l_Lean_mkModuleInitializationStem(x_3, x_5);
|
||||
lean_dec(x_5);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
|
|
@ -2712,6 +2713,7 @@ x_11 = l_System_FilePath_normalize(x_8);
|
|||
x_12 = l_Lake_joinRelative(x_10, x_11);
|
||||
x_13 = l_Lake_Package_id_x3f(x_3);
|
||||
x_14 = l_Lean_mkModuleInitializationStem(x_5, x_13);
|
||||
lean_dec(x_13);
|
||||
x_15 = l_Lake_Module_dynlibFile___closed__0;
|
||||
x_16 = lean_string_append(x_14, x_15);
|
||||
x_17 = l_Lake_Module_dynlibFile___closed__1;
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/DSL/Meta.c
generated
1
stage0/stdlib/Lake/DSL/Meta.c
generated
|
|
@ -2507,7 +2507,6 @@ lean_dec(x_18);
|
|||
x_26 = lean_ctor_get(x_25, 0);
|
||||
lean_inc_ref(x_26);
|
||||
lean_dec_ref(x_25);
|
||||
lean_inc_ref(x_26);
|
||||
x_27 = lean_string_validate_utf8(x_26);
|
||||
if (x_27 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Lake/Util/Log.c
generated
1
stage0/stdlib/Lake/Util/Log.c
generated
|
|
@ -7749,7 +7749,6 @@ lean_object* x_8; lean_object* x_24; uint8_t x_25;
|
|||
x_24 = lean_ctor_get(x_7, 0);
|
||||
lean_inc_ref(x_24);
|
||||
lean_dec_ref(x_7);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_string_validate_utf8(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
|
|
|
|||
63
stage0/stdlib/Lake/Util/Version.c
generated
63
stage0/stdlib/Lake/Util/Version.c
generated
|
|
@ -94,6 +94,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_ComparatorOp_pars
|
|||
uint8_t l_Lake_instDecidableEqDate_decEq(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Version_0__Lake_ComparatorOp_parseM___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lake_instOrdSemVerCore;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f_nextUntilWhitespace___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lake_Util_Version_0__Lake_SemVerCore_parseM___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lake_VerComparator_instInhabited;
|
||||
uint8_t lean_usize_dec_eq(size_t, size_t);
|
||||
|
|
@ -246,6 +247,7 @@ LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_VerComponent_none
|
|||
LEAN_EXPORT uint8_t l_Lake_ToolchainVer_decLt(lean_object*, lean_object*);
|
||||
static lean_object* l_Lake_instReprSemVerCore_repr___redArg___closed__0;
|
||||
static lean_object* l_Lake_ToolchainVer_ofString___closed__4;
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_instInhabitedSemVerCore;
|
||||
static lean_object* l_Lake_VerComparator_parse___closed__0;
|
||||
lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -447,6 +449,7 @@ static lean_object* l_Lake_instReprStdVer_repr___redArg___closed__3;
|
|||
static lean_object* l_Lake_instReprSemVerCore_repr___redArg___closed__9;
|
||||
lean_object* lean_string_append(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_runVerParse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_SemVerCore_instMax;
|
||||
LEAN_EXPORT lean_object* l_Lake_ComparatorOp_noConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lake_ToolchainVer_decLe___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -548,8 +551,8 @@ lean_ctor_set(x_36, 0, x_1);
|
|||
lean_ctor_set(x_36, 1, x_3);
|
||||
lean_ctor_set(x_36, 2, x_4);
|
||||
x_37 = lean_array_push(x_2, x_36);
|
||||
lean_inc_ref(x_1);
|
||||
x_38 = lean_string_utf8_next_fast(x_1, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_38);
|
||||
x_2 = x_37;
|
||||
x_3 = x_38;
|
||||
|
|
@ -657,8 +660,8 @@ return x_42;
|
|||
block_7:
|
||||
{
|
||||
lean_object* x_5;
|
||||
lean_inc_ref(x_1);
|
||||
x_5 = lean_string_utf8_next_fast(x_1, x_4);
|
||||
lean_dec(x_4);
|
||||
x_4 = x_5;
|
||||
goto _start;
|
||||
}
|
||||
|
|
@ -1173,14 +1176,12 @@ goto block_6;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
block_6:
|
||||
|
|
@ -1188,19 +1189,27 @@ block_6:
|
|||
if (x_3 == 0)
|
||||
{
|
||||
lean_object* x_4;
|
||||
lean_inc_ref(x_1);
|
||||
x_4 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_4;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f_nextUntilWhitespace___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f_nextUntilWhitespace(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1217,7 +1226,6 @@ x_7 = lean_uint32_dec_eq(x_5, x_6);
|
|||
if (x_7 == 0)
|
||||
{
|
||||
lean_object* x_8; lean_object* x_9;
|
||||
lean_dec_ref(x_1);
|
||||
x_8 = lean_box(0);
|
||||
x_9 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_8);
|
||||
|
|
@ -1227,14 +1235,12 @@ return x_9;
|
|||
else
|
||||
{
|
||||
lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
lean_inc_ref(x_1);
|
||||
x_10 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_10);
|
||||
lean_inc_ref(x_1);
|
||||
x_11 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f_nextUntilWhitespace(x_1, x_10);
|
||||
x_12 = lean_string_utf8_extract(x_1, x_10, x_11);
|
||||
lean_dec(x_10);
|
||||
lean_dec_ref(x_1);
|
||||
x_13 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_13, 0, x_12);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -1246,7 +1252,6 @@ return x_14;
|
|||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16;
|
||||
lean_dec_ref(x_1);
|
||||
x_15 = lean_box(0);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_15);
|
||||
|
|
@ -1255,6 +1260,15 @@ return x_16;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_Util_Version_0__Lake_parseSpecialDescr___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1371,6 +1385,15 @@ return x_25;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lake_Util_Version_0__Lake_parseSpecialDescr___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lake_Util_Version_0__Lake_runVerParse___redArg___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3160,6 +3183,7 @@ x_5 = lean_ctor_get(x_3, 1);
|
|||
lean_inc(x_5);
|
||||
lean_dec_ref(x_3);
|
||||
x_6 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_5);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_obj_tag(x_6) == 0)
|
||||
{
|
||||
uint8_t x_7;
|
||||
|
|
@ -6780,6 +6804,7 @@ x_8 = lean_ctor_get(x_6, 1);
|
|||
lean_inc(x_8);
|
||||
lean_dec_ref(x_6);
|
||||
x_9 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr_x3f(x_1, x_8);
|
||||
lean_dec_ref(x_1);
|
||||
x_10 = lean_ctor_get(x_9, 0);
|
||||
lean_inc(x_10);
|
||||
if (lean_obj_tag(x_10) == 1)
|
||||
|
|
@ -8309,6 +8334,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
|||
x_8 = lean_ctor_get(x_6, 0);
|
||||
x_9 = lean_ctor_get(x_6, 1);
|
||||
x_10 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_9);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
uint8_t x_11;
|
||||
|
|
@ -9126,6 +9152,7 @@ lean_inc(x_254);
|
|||
lean_inc(x_253);
|
||||
lean_dec(x_6);
|
||||
x_255 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_254);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_obj_tag(x_255) == 0)
|
||||
{
|
||||
lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261;
|
||||
|
|
@ -9634,6 +9661,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
|||
x_8 = lean_ctor_get(x_6, 0);
|
||||
x_9 = lean_ctor_get(x_6, 1);
|
||||
x_10 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_9);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_obj_tag(x_10) == 0)
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16;
|
||||
|
|
@ -10299,6 +10327,7 @@ lean_inc(x_191);
|
|||
lean_inc(x_190);
|
||||
lean_dec(x_6);
|
||||
x_192 = l___private_Lake_Util_Version_0__Lake_parseSpecialDescr(x_1, x_191);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_obj_tag(x_192) == 0)
|
||||
{
|
||||
lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198;
|
||||
|
|
@ -11807,8 +11836,8 @@ return x_38;
|
|||
else
|
||||
{
|
||||
lean_object* x_39; uint8_t x_40;
|
||||
lean_inc_ref(x_1);
|
||||
x_39 = lean_string_utf8_next_fast(x_1, x_5);
|
||||
lean_dec(x_5);
|
||||
x_40 = lean_nat_dec_eq(x_39, x_12);
|
||||
lean_dec(x_12);
|
||||
if (x_40 == 0)
|
||||
|
|
@ -11840,8 +11869,8 @@ if (x_47 == 0)
|
|||
lean_object* x_48; lean_object* x_49; lean_object* x_50;
|
||||
x_48 = lean_array_push(x_3, x_4);
|
||||
x_49 = l___private_Lake_Util_Version_0__Lake_VerRange_parseM_go___closed__2;
|
||||
lean_inc_ref(x_1);
|
||||
x_50 = lean_string_utf8_next_fast(x_1, x_39);
|
||||
lean_dec(x_39);
|
||||
x_2 = x_24;
|
||||
x_3 = x_48;
|
||||
x_4 = x_49;
|
||||
|
|
@ -11882,8 +11911,8 @@ lean_dec(x_12);
|
|||
if (x_2 == 0)
|
||||
{
|
||||
lean_object* x_56;
|
||||
lean_inc_ref(x_1);
|
||||
x_56 = lean_string_utf8_next_fast(x_1, x_5);
|
||||
lean_dec(x_5);
|
||||
x_2 = x_24;
|
||||
x_5 = x_56;
|
||||
goto _start;
|
||||
|
|
@ -11980,8 +12009,8 @@ else
|
|||
{
|
||||
lean_object* x_80; lean_object* x_81;
|
||||
lean_dec(x_12);
|
||||
lean_inc_ref(x_1);
|
||||
x_80 = lean_string_utf8_next_fast(x_1, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_inc_ref(x_1);
|
||||
x_81 = l___private_Lake_Util_Version_0__Lake_VerRange_parseM_parseTilde(x_1, x_4, x_80);
|
||||
if (lean_obj_tag(x_81) == 0)
|
||||
|
|
@ -12027,8 +12056,8 @@ else
|
|||
{
|
||||
lean_object* x_89; lean_object* x_90;
|
||||
lean_dec(x_12);
|
||||
lean_inc_ref(x_1);
|
||||
x_89 = lean_string_utf8_next_fast(x_1, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_inc_ref(x_1);
|
||||
x_90 = l___private_Lake_Util_Version_0__Lake_VerRange_parseM_parseCaret(x_1, x_4, x_89);
|
||||
if (lean_obj_tag(x_90) == 0)
|
||||
|
|
@ -12183,8 +12212,8 @@ return x_7;
|
|||
block_11:
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_inc_ref(x_1);
|
||||
x_9 = lean_string_utf8_next_fast(x_1, x_5);
|
||||
lean_dec(x_5);
|
||||
x_5 = x_9;
|
||||
goto _start;
|
||||
}
|
||||
|
|
|
|||
20
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
20
stage0/stdlib/Lean/Compiler/ExternAttr.c
generated
|
|
@ -167,6 +167,7 @@ lean_object* l_List_getD___redArg(lean_object*, lean_object*, lean_object*);
|
|||
static lean_object* l_Lean_mkSimpleFnCall___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_ExternEntry_ctorIdx___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_instHashableExternEntry;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_initFn___lam__2_00___x40_Lean_Compiler_ExternAttr_4197872175____hygCtx___hyg_2____boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_ExternEntry_ctorIdx(lean_object* x_1) {
|
||||
_start:
|
||||
|
|
@ -1569,7 +1570,6 @@ x_6 = lean_nat_dec_eq(x_1, x_5);
|
|||
if (x_6 == 1)
|
||||
{
|
||||
lean_object* x_7;
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_3);
|
||||
|
|
@ -1610,7 +1610,6 @@ if (x_13 == 0)
|
|||
{
|
||||
lean_object* x_14;
|
||||
lean_dec(x_11);
|
||||
lean_dec_ref(x_2);
|
||||
x_14 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_14, 0, x_3);
|
||||
lean_ctor_set(x_14, 1, x_4);
|
||||
|
|
@ -1619,8 +1618,8 @@ return x_14;
|
|||
else
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
lean_inc_ref(x_2);
|
||||
x_15 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_16 = lean_unsigned_to_nat(10u);
|
||||
x_17 = lean_nat_mul(x_4, x_16);
|
||||
lean_dec(x_4);
|
||||
|
|
@ -1641,7 +1640,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_28;
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_28 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_28, 0, x_3);
|
||||
|
|
@ -1651,6 +1649,15 @@ return x_28;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_expandExternPatternAux___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1696,11 +1703,10 @@ else
|
|||
if (x_9 == 0)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_inc_ref(x_3);
|
||||
x_19 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_inc_ref(x_3);
|
||||
x_20 = l_String_ValidPos_remainingBytes(x_3, x_19);
|
||||
lean_inc_ref(x_3);
|
||||
x_21 = l___private_Lean_Compiler_ExternAttr_0__Lean_parseOptNum(x_20, x_3, x_19, x_6);
|
||||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc(x_22);
|
||||
|
|
@ -1726,8 +1732,8 @@ goto block_16;
|
|||
block_16:
|
||||
{
|
||||
lean_object* x_13; lean_object* x_14;
|
||||
lean_inc_ref(x_3);
|
||||
x_13 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_14 = lean_string_push(x_5, x_12);
|
||||
x_2 = x_11;
|
||||
x_4 = x_13;
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
4
stage0/stdlib/Lean/Compiler/IR/EmitC.c
generated
|
|
@ -805,6 +805,7 @@ x_9 = lean_box(0);
|
|||
x_10 = l_Lean_PersistentEnvExtension_getState___redArg(x_8, x_5, x_3, x_7, x_9);
|
||||
lean_dec(x_7);
|
||||
x_11 = l_Lean_mkModuleInitializationFunctionName(x_4, x_10);
|
||||
lean_dec(x_10);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_11);
|
||||
lean_ctor_set(x_12, 1, x_2);
|
||||
|
|
@ -3334,6 +3335,7 @@ x_94 = l_Lean_PersistentEnvExtension_getState___redArg(x_92, x_85, x_83, x_87, x
|
|||
lean_dec(x_87);
|
||||
lean_inc(x_84);
|
||||
x_95 = l_Lean_mkModuleInitializationFunctionName(x_84, x_94);
|
||||
lean_dec(x_94);
|
||||
x_96 = l_Lean_IR_EmitC_emitMainFn___closed__18;
|
||||
x_97 = lean_string_append(x_96, x_95);
|
||||
lean_dec_ref(x_95);
|
||||
|
|
@ -13761,6 +13763,7 @@ x_13 = lean_array_uset(x_4, x_3, x_12);
|
|||
x_14 = l_Lean_Environment_getModulePackageByIdx_x3f(x_1, x_11);
|
||||
lean_dec(x_11);
|
||||
x_15 = l_Lean_mkModuleInitializationFunctionName(x_9, x_14);
|
||||
lean_dec(x_14);
|
||||
x_16 = l___private_Init_Data_Nat_Control_0__Nat_forM_loop___at___00Lean_IR_EmitC_emitDeclAux_spec__0___redArg___closed__0;
|
||||
x_17 = lean_string_append(x_16, x_15);
|
||||
x_18 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00Lean_IR_EmitC_emitInitFn_spec__0___redArg___closed__0;
|
||||
|
|
@ -14089,6 +14092,7 @@ x_16 = l_Lean_PersistentEnvExtension_getState___redArg(x_14, x_11, x_3, x_13, x_
|
|||
lean_dec(x_13);
|
||||
lean_inc(x_4);
|
||||
x_17 = l_Lean_mkModuleInitializationFunctionName(x_4, x_16);
|
||||
lean_dec(x_16);
|
||||
x_18 = l_Lean_IR_EmitC_emitInitFn___closed__0;
|
||||
x_19 = l_Lean_IR_EmitC_emitInitFn___closed__1;
|
||||
x_20 = lean_string_append(x_19, x_17);
|
||||
|
|
|
|||
6
stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c
generated
6
stage0/stdlib/Lean/Compiler/IR/EmitLLVM.c
generated
|
|
@ -39463,6 +39463,7 @@ x_13 = lean_unbox_usize(x_6);
|
|||
lean_dec(x_6);
|
||||
x_14 = l_Lean_IR_EmitLLVM_callModInitFn___redArg(x_10, x_11, x_3, x_4, x_12, x_13, x_7, x_8);
|
||||
lean_dec_ref(x_8);
|
||||
lean_dec(x_4);
|
||||
return x_14;
|
||||
}
|
||||
}
|
||||
|
|
@ -39481,6 +39482,7 @@ lean_dec(x_6);
|
|||
x_15 = l_Lean_IR_EmitLLVM_callModInitFn(x_11, x_12, x_3, x_4, x_13, x_14, x_7, x_8, x_9);
|
||||
lean_dec_ref(x_9);
|
||||
lean_dec(x_8);
|
||||
lean_dec(x_4);
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
|
|
@ -39629,6 +39631,7 @@ x_34 = lean_string_append(x_32, x_33);
|
|||
x_35 = lean_unbox_usize(x_26);
|
||||
lean_dec(x_26);
|
||||
x_36 = l_Lean_IR_EmitLLVM_callModInitFn___redArg(x_1, x_3, x_28, x_31, x_22, x_35, x_34, x_11);
|
||||
lean_dec(x_31);
|
||||
x_37 = lean_ctor_get(x_36, 0);
|
||||
lean_inc(x_37);
|
||||
lean_dec_ref(x_36);
|
||||
|
|
@ -39734,6 +39737,7 @@ x_64 = lean_string_append(x_62, x_63);
|
|||
x_65 = lean_unbox_usize(x_56);
|
||||
lean_dec(x_56);
|
||||
x_66 = l_Lean_IR_EmitLLVM_callModInitFn___redArg(x_1, x_3, x_58, x_61, x_22, x_65, x_64, x_11);
|
||||
lean_dec(x_61);
|
||||
x_67 = lean_ctor_get(x_66, 0);
|
||||
lean_inc(x_67);
|
||||
lean_dec_ref(x_66);
|
||||
|
|
@ -40010,6 +40014,7 @@ x_28 = l_Lean_PersistentEnvExtension_getState___redArg(x_26, x_23, x_9, x_25, x_
|
|||
lean_dec(x_25);
|
||||
lean_inc(x_12);
|
||||
x_29 = l_Lean_mkModuleInitializationFunctionName(x_12, x_28);
|
||||
lean_dec(x_28);
|
||||
x_30 = l_Lean_IR_LLVM_getOrAddFunction(x_1, x_2, x_29, x_22);
|
||||
lean_dec_ref(x_29);
|
||||
x_31 = l_Lean_IR_EmitLLVM_emitFnDeclAux___closed__0;
|
||||
|
|
@ -43208,6 +43213,7 @@ lean_dec(x_89);
|
|||
x_103 = lean_unbox_usize(x_83);
|
||||
lean_dec(x_83);
|
||||
x_104 = l_Lean_IR_EmitLLVM_callModInitFn___redArg(x_1, x_3, x_86, x_98, x_102, x_103, x_101, x_77);
|
||||
lean_dec(x_98);
|
||||
x_105 = lean_ctor_get(x_104, 0);
|
||||
lean_inc(x_105);
|
||||
lean_dec_ref(x_104);
|
||||
|
|
|
|||
5
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
5
stage0/stdlib/Lean/Compiler/InitAttr.c
generated
|
|
@ -524,6 +524,7 @@ _start:
|
|||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Compiler_InitAttr_0__Lean_runModInit(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -4639,6 +4640,7 @@ x_21 = lean_array_uget(x_5, x_7);
|
|||
x_22 = l_Lean_Environment_getModulePackageByIdx_x3f(x_1, x_20);
|
||||
lean_inc(x_21);
|
||||
x_23 = l_Lean_mkModuleInitializationFunctionName(x_21, x_22);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_run_mod_init_core(x_23);
|
||||
lean_dec_ref(x_23);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
|
|
@ -4800,6 +4802,7 @@ x_62 = lean_array_uget(x_5, x_7);
|
|||
x_63 = l_Lean_Environment_getModulePackageByIdx_x3f(x_1, x_61);
|
||||
lean_inc(x_62);
|
||||
x_64 = l_Lean_mkModuleInitializationFunctionName(x_62, x_63);
|
||||
lean_dec(x_63);
|
||||
x_65 = lean_run_mod_init_core(x_64);
|
||||
lean_dec_ref(x_64);
|
||||
if (lean_obj_tag(x_65) == 0)
|
||||
|
|
@ -5001,6 +5004,7 @@ x_21 = lean_array_uget(x_5, x_7);
|
|||
x_22 = l_Lean_Environment_getModulePackageByIdx_x3f(x_1, x_20);
|
||||
lean_inc(x_21);
|
||||
x_23 = l_Lean_mkModuleInitializationFunctionName(x_21, x_22);
|
||||
lean_dec(x_22);
|
||||
x_24 = lean_run_mod_init_core(x_23);
|
||||
lean_dec_ref(x_23);
|
||||
if (lean_obj_tag(x_24) == 0)
|
||||
|
|
@ -5162,6 +5166,7 @@ x_62 = lean_array_uget(x_5, x_7);
|
|||
x_63 = l_Lean_Environment_getModulePackageByIdx_x3f(x_1, x_61);
|
||||
lean_inc(x_62);
|
||||
x_64 = l_Lean_mkModuleInitializationFunctionName(x_62, x_63);
|
||||
lean_dec(x_63);
|
||||
x_65 = lean_run_mod_init_core(x_64);
|
||||
lean_dec_ref(x_64);
|
||||
if (lean_obj_tag(x_65) == 0)
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Compiler/ModPkgExt.c
generated
1
stage0/stdlib/Lean/Compiler/ModPkgExt.c
generated
|
|
@ -883,6 +883,7 @@ block_6:
|
|||
{
|
||||
lean_object* x_4; lean_object* x_5;
|
||||
x_4 = l_Lean_mkPackageSymbolPrefix(x_3);
|
||||
lean_dec(x_3);
|
||||
x_5 = l_Lean_Name_mangle(x_2, x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
|
|||
167
stage0/stdlib/Lean/Compiler/NameMangling.c
generated
167
stage0/stdlib/Lean/Compiler/NameMangling.c
generated
|
|
@ -13,6 +13,7 @@
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
LEAN_EXPORT lean_object* l_Lean_mkModuleInitializationFunctionName___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_fromHex_x3f___boxed(lean_object*);
|
||||
lean_object* lean_uint32_to_nat(uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -50,8 +51,10 @@ LEAN_EXPORT uint8_t l___private_Lean_Compiler_NameMangling_0__Lean_checkDisambig
|
|||
static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__1;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Name_num___override(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_String_mangle___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__6_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkModuleInitializationStem___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__2;
|
||||
static lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_checkDisambiguation___boxed(lean_object*, lean_object*);
|
||||
|
|
@ -60,9 +63,11 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__4_splitter___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_NameMangling_0__Lean_needDisambiguation(lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_mkPackageSymbolPrefix___closed__0;
|
||||
LEAN_EXPORT lean_object* l_String_mangle___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__1_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__1_splitter(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, lean_object*);
|
||||
uint32_t lean_uint32_sub(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_decodeNum___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_nat_dec_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__1_splitter___redArg(uint32_t, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -77,11 +82,13 @@ static lean_object* l_Lean_mkPackageSymbolPrefix___closed__1;
|
|||
lean_object* lean_nat_shiftl(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__6_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_sub(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_mul(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__4_splitter(lean_object*, lean_object*, uint32_t, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_fromHex_x3f(uint32_t);
|
||||
lean_object* lean_string_utf8_next_fast(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle_x3f(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__String_pushHex_match__1_splitter(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
uint8_t lean_uint32_dec_lt(uint32_t, uint32_t);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__4_splitter___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -97,8 +104,12 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
static lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_mangle(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_nameStart___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__String_pushHex(lean_object*, uint32_t, lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle_x3f___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_mkPackageSymbolPrefix___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__4_splitter___redArg(uint32_t, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* lean_nat_lor(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_mangle(lean_object*);
|
||||
|
|
@ -240,8 +251,8 @@ if (x_5 == 0)
|
|||
{
|
||||
uint32_t x_6; lean_object* x_7; uint8_t x_11; uint8_t x_38; uint8_t x_44; uint32_t x_50; uint8_t x_51;
|
||||
x_6 = lean_string_utf8_get_fast(x_1, x_2);
|
||||
lean_inc_ref(x_1);
|
||||
x_7 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_50 = 65;
|
||||
x_51 = lean_uint32_dec_le(x_50, x_6);
|
||||
if (x_51 == 0)
|
||||
|
|
@ -391,11 +402,19 @@ goto block_10;
|
|||
else
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__String_mangleAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_String_mangle___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -414,6 +433,15 @@ x_4 = l___private_Lean_Compiler_NameMangling_0__String_mangleAux(x_1, x_2, x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_String_mangle___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_String_mangle(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT uint8_t l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -423,7 +451,6 @@ x_5 = lean_nat_dec_eq(x_1, x_4);
|
|||
if (x_5 == 1)
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -458,8 +485,8 @@ goto block_21;
|
|||
block_12:
|
||||
{
|
||||
lean_object* x_10;
|
||||
lean_inc_ref(x_2);
|
||||
x_10 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_1 = x_9;
|
||||
x_3 = x_10;
|
||||
goto _start;
|
||||
|
|
@ -470,7 +497,6 @@ if (x_13 == 0)
|
|||
{
|
||||
lean_dec(x_9);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
|
|
@ -508,7 +534,6 @@ goto block_12;
|
|||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -520,6 +545,7 @@ _start:
|
|||
{
|
||||
uint8_t x_4; lean_object* x_5;
|
||||
x_4 = l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
x_5 = lean_box(x_4);
|
||||
return x_5;
|
||||
}
|
||||
|
|
@ -615,7 +641,6 @@ x_6 = lean_nat_dec_eq(x_1, x_5);
|
|||
if (x_6 == 1)
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_7 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_7, 0, x_3);
|
||||
|
|
@ -640,7 +665,6 @@ if (lean_obj_tag(x_12) == 0)
|
|||
lean_object* x_13;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_13 = lean_box(0);
|
||||
return x_13;
|
||||
|
|
@ -654,8 +678,8 @@ lean_dec_ref(x_12);
|
|||
x_15 = lean_unsigned_to_nat(1u);
|
||||
x_16 = lean_nat_sub(x_1, x_15);
|
||||
lean_dec(x_1);
|
||||
lean_inc_ref(x_2);
|
||||
x_17 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_18 = lean_unsigned_to_nat(4u);
|
||||
x_19 = lean_nat_shiftl(x_4, x_18);
|
||||
lean_dec(x_4);
|
||||
|
|
@ -673,7 +697,6 @@ else
|
|||
lean_object* x_22;
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_22 = lean_box(0);
|
||||
return x_22;
|
||||
|
|
@ -681,6 +704,15 @@ return x_22;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_2);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__String_pushHex_match__1_splitter___redArg(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -795,7 +827,6 @@ if (x_13 == 0)
|
|||
{
|
||||
uint32_t x_14; uint8_t x_15;
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
x_14 = 48;
|
||||
x_15 = lean_uint32_dec_le(x_14, x_5);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -814,8 +845,8 @@ else
|
|||
{
|
||||
lean_object* x_18; lean_object* x_19; uint8_t x_20;
|
||||
x_18 = lean_unsigned_to_nat(8u);
|
||||
lean_inc_ref(x_1);
|
||||
x_19 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_20 = l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex(x_18, x_1, x_19);
|
||||
return x_20;
|
||||
}
|
||||
|
|
@ -824,8 +855,8 @@ else
|
|||
{
|
||||
lean_object* x_21; lean_object* x_22; uint8_t x_23;
|
||||
x_21 = lean_unsigned_to_nat(4u);
|
||||
lean_inc_ref(x_1);
|
||||
x_22 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_23 = l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex(x_21, x_1, x_22);
|
||||
return x_23;
|
||||
}
|
||||
|
|
@ -834,8 +865,8 @@ else
|
|||
{
|
||||
lean_object* x_24; lean_object* x_25; uint8_t x_26;
|
||||
x_24 = lean_unsigned_to_nat(2u);
|
||||
lean_inc_ref(x_1);
|
||||
x_25 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_26 = l___private_Lean_Compiler_NameMangling_0__Lean_checkLowerHex(x_24, x_1, x_25);
|
||||
return x_26;
|
||||
}
|
||||
|
|
@ -843,8 +874,8 @@ return x_26;
|
|||
else
|
||||
{
|
||||
lean_object* x_27;
|
||||
lean_inc_ref(x_1);
|
||||
x_27 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_27;
|
||||
goto _start;
|
||||
}
|
||||
|
|
@ -852,7 +883,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -862,6 +892,7 @@ _start:
|
|||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Compiler_NameMangling_0__Lean_checkDisambiguation(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
}
|
||||
|
|
@ -900,7 +931,6 @@ goto block_5;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_2);
|
||||
return x_16;
|
||||
}
|
||||
}
|
||||
|
|
@ -928,6 +958,7 @@ _start:
|
|||
{
|
||||
uint8_t x_3; lean_object* x_4;
|
||||
x_3 = l___private_Lean_Compiler_NameMangling_0__Lean_needDisambiguation(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec(x_1);
|
||||
x_4 = lean_box(x_3);
|
||||
return x_4;
|
||||
|
|
@ -976,11 +1007,11 @@ x_4 = lean_ctor_get(x_1, 1);
|
|||
lean_inc_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = l_String_mangle(x_4);
|
||||
lean_dec_ref(x_4);
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_object* x_6; uint8_t x_7;
|
||||
x_6 = lean_unsigned_to_nat(0u);
|
||||
lean_inc_ref(x_5);
|
||||
x_7 = l___private_Lean_Compiler_NameMangling_0__Lean_checkDisambiguation(x_5, x_6);
|
||||
if (x_7 == 0)
|
||||
{
|
||||
|
|
@ -1000,7 +1031,6 @@ else
|
|||
lean_object* x_10; lean_object* x_11; uint8_t x_15;
|
||||
lean_inc(x_3);
|
||||
x_10 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_3);
|
||||
lean_inc_ref(x_5);
|
||||
x_15 = l___private_Lean_Compiler_NameMangling_0__Lean_needDisambiguation(x_3, x_5);
|
||||
lean_dec(x_3);
|
||||
if (x_15 == 0)
|
||||
|
|
@ -1087,8 +1117,6 @@ else
|
|||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_5 = lean_ctor_get(x_2, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec_ref(x_2);
|
||||
x_6 = l_String_mangle(x_5);
|
||||
x_7 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux___closed__1;
|
||||
x_8 = lean_string_append(x_6, x_7);
|
||||
|
|
@ -1097,6 +1125,15 @@ return x_9;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkModuleInitializationStem___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_mkModuleInitializationStem(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkModuleInitializationFunctionName___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1116,6 +1153,15 @@ lean_dec_ref(x_4);
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkModuleInitializationFunctionName___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l_Lean_mkModuleInitializationFunctionName(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_mkPackageSymbolPrefix___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1145,8 +1191,6 @@ else
|
|||
{
|
||||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
x_4 = l_Lean_mkPackageSymbolPrefix___closed__1;
|
||||
x_5 = l_String_mangle(x_3);
|
||||
x_6 = lean_string_append(x_4, x_5);
|
||||
|
|
@ -1157,6 +1201,15 @@ return x_8;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_mkPackageSymbolPrefix___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_mkPackageSymbolPrefix(x_1);
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_decodeNum(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1167,8 +1220,8 @@ if (x_6 == 0)
|
|||
{
|
||||
uint32_t x_7; lean_object* x_8; uint8_t x_9; uint32_t x_22; uint8_t x_23;
|
||||
x_7 = lean_string_utf8_get_fast(x_1, x_2);
|
||||
lean_inc_ref(x_1);
|
||||
x_8 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_22 = 48;
|
||||
x_23 = lean_uint32_dec_le(x_22, x_7);
|
||||
if (x_23 == 0)
|
||||
|
|
@ -1195,15 +1248,15 @@ lean_dec(x_5);
|
|||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12; lean_object* x_13;
|
||||
lean_inc_ref(x_1);
|
||||
x_12 = lean_string_utf8_next_fast(x_1, x_8);
|
||||
lean_dec(x_8);
|
||||
x_13 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_nameStart(x_1, x_12, x_10);
|
||||
lean_dec(x_12);
|
||||
return x_13;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_dec(x_8);
|
||||
lean_dec_ref(x_1);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
|
|
@ -1231,7 +1284,6 @@ else
|
|||
lean_object* x_26;
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
x_26 = l_Lean_Name_num___override(x_3, x_4);
|
||||
return x_26;
|
||||
}
|
||||
|
|
@ -1247,7 +1299,6 @@ if (x_5 == 0)
|
|||
{
|
||||
uint32_t x_6; lean_object* x_7; uint8_t x_13; uint8_t x_22; uint32_t x_36; uint8_t x_37;
|
||||
x_6 = lean_string_utf8_get_fast(x_1, x_2);
|
||||
lean_inc_ref(x_1);
|
||||
x_7 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
x_36 = 48;
|
||||
x_37 = lean_uint32_dec_le(x_36, x_6);
|
||||
|
|
@ -1292,8 +1343,8 @@ goto block_12;
|
|||
else
|
||||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_inc_ref(x_1);
|
||||
x_17 = lean_string_utf8_next_fast(x_1, x_7);
|
||||
lean_dec(x_7);
|
||||
x_18 = l_String_mangle___closed__0;
|
||||
x_19 = lean_unsigned_to_nat(0u);
|
||||
x_20 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux(x_1, x_17, x_3, x_18, x_19);
|
||||
|
|
@ -1359,8 +1410,6 @@ goto block_21;
|
|||
else
|
||||
{
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
|
|
@ -1399,8 +1448,8 @@ if (x_7 == 0)
|
|||
{
|
||||
uint32_t x_8; lean_object* x_9; lean_object* x_10; uint32_t x_16; uint8_t x_17;
|
||||
x_8 = lean_string_utf8_get_fast(x_1, x_2);
|
||||
lean_inc_ref(x_1);
|
||||
x_9 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_16 = 95;
|
||||
x_17 = lean_uint32_dec_eq(x_8, x_16);
|
||||
if (x_17 == 0)
|
||||
|
|
@ -1474,7 +1523,6 @@ else
|
|||
lean_object* x_31; lean_object* x_32;
|
||||
x_31 = lean_unsigned_to_nat(8u);
|
||||
lean_inc(x_9);
|
||||
lean_inc_ref(x_1);
|
||||
x_32 = l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f(x_31, x_1, x_9, x_20);
|
||||
if (lean_obj_tag(x_32) == 1)
|
||||
{
|
||||
|
|
@ -1521,7 +1569,6 @@ else
|
|||
lean_object* x_45; lean_object* x_46;
|
||||
x_45 = lean_unsigned_to_nat(4u);
|
||||
lean_inc(x_9);
|
||||
lean_inc_ref(x_1);
|
||||
x_46 = l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f(x_45, x_1, x_9, x_20);
|
||||
if (lean_obj_tag(x_46) == 1)
|
||||
{
|
||||
|
|
@ -1575,8 +1622,8 @@ goto block_15;
|
|||
else
|
||||
{
|
||||
lean_object* x_62; lean_object* x_63;
|
||||
lean_inc_ref(x_1);
|
||||
x_62 = lean_string_utf8_next_fast(x_1, x_9);
|
||||
lean_dec(x_9);
|
||||
x_63 = l_String_mangle___closed__0;
|
||||
x_2 = x_62;
|
||||
x_3 = x_57;
|
||||
|
|
@ -1602,7 +1649,6 @@ else
|
|||
{
|
||||
lean_object* x_69;
|
||||
lean_inc(x_9);
|
||||
lean_inc_ref(x_1);
|
||||
x_69 = l___private_Lean_Compiler_NameMangling_0__Lean_parseLowerHex_x3f(x_18, x_1, x_9, x_20);
|
||||
if (lean_obj_tag(x_69) == 1)
|
||||
{
|
||||
|
|
@ -1698,7 +1744,6 @@ else
|
|||
uint32_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104;
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
x_100 = 95;
|
||||
x_101 = lean_unsigned_to_nat(1u);
|
||||
x_102 = lean_nat_shiftr(x_5, x_101);
|
||||
|
|
@ -1709,6 +1754,25 @@ return x_104;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_decodeNum___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_decodeNum(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_nameStart___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_nameStart(x_1, x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at___00__private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1719,6 +1783,15 @@ x_5 = l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at___00__private_Le
|
|||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_6;
|
||||
x_6 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux(x_1, x_2, x_3, x_4, x_5);
|
||||
lean_dec_ref(x_1);
|
||||
return x_6;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_match__6_splitter___redArg___boxed__const__1() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1969,16 +2042,23 @@ x_4 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_demangleAux_nameStart(
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Name_demangle(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle_x3f(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
lean_inc_ref(x_1);
|
||||
x_2 = l_Lean_Name_demangle(x_1);
|
||||
lean_inc(x_2);
|
||||
x_3 = l___private_Lean_Compiler_NameMangling_0__Lean_Name_mangleAux(x_2);
|
||||
x_4 = lean_string_dec_eq(x_3, x_1);
|
||||
lean_dec_ref(x_1);
|
||||
lean_dec_ref(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
|
|
@ -1996,6 +2076,15 @@ return x_6;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Name_demangle_x3f___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Name_demangle_x3f(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Setup(uint8_t builtin);
|
||||
lean_object* initialize_Init_Data_String_Termination(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/CoreM.c
generated
1
stage0/stdlib/Lean/CoreM.c
generated
|
|
@ -18633,7 +18633,6 @@ lean_dec(x_14);
|
|||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec_ref(x_21);
|
||||
lean_inc_ref(x_22);
|
||||
x_23 = lean_string_validate_utf8(x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
|
|
|
|||
78
stage0/stdlib/Lean/Data/EditDistance.c
generated
78
stage0/stdlib/Lean/Data/EditDistance.c
generated
|
|
@ -148,8 +148,8 @@ block_24:
|
|||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
||||
x_19 = lean_array_fset(x_12, x_17, x_18);
|
||||
lean_inc_ref(x_1);
|
||||
x_20 = lean_string_utf8_next_fast(x_1, x_9);
|
||||
lean_dec(x_9);
|
||||
if (lean_is_scalar(x_13)) {
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -207,7 +207,6 @@ goto block_28;
|
|||
else
|
||||
{
|
||||
lean_object* x_42; lean_object* x_43;
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_13)) {
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -332,7 +331,6 @@ x_26 = lean_nat_mod(x_4, x_5);
|
|||
lean_ctor_set(x_12, 1, x_24);
|
||||
lean_ctor_set(x_12, 0, x_26);
|
||||
lean_ctor_set(x_11, 0, x_25);
|
||||
lean_inc_ref(x_6);
|
||||
x_27 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_6, x_5, x_3, x_19, x_16, x_1, x_11);
|
||||
x_28 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_28);
|
||||
|
|
@ -354,16 +352,14 @@ if (lean_is_exclusive(x_28)) {
|
|||
lean_dec_ref(x_28);
|
||||
x_31 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_1);
|
||||
x_32 = lean_string_utf8_next_fast(x_1, x_16);
|
||||
lean_dec(x_16);
|
||||
x_39 = lean_array_get_size(x_30);
|
||||
x_40 = lean_nat_dec_lt(x_25, x_39);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_dec(x_39);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -371,9 +367,7 @@ else
|
|||
if (x_40 == 0)
|
||||
{
|
||||
lean_dec(x_39);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -385,9 +379,7 @@ lean_dec(x_39);
|
|||
x_43 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_EditDistance_levenshtein_spec__2(x_7, x_30, x_41, x_42);
|
||||
if (x_43 == 0)
|
||||
{
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -455,8 +447,6 @@ return x_37;
|
|||
else
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50;
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_14)) {
|
||||
x_49 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -499,7 +489,6 @@ lean_ctor_set(x_59, 0, x_58);
|
|||
lean_ctor_set(x_59, 1, x_56);
|
||||
lean_ctor_set(x_11, 1, x_59);
|
||||
lean_ctor_set(x_11, 0, x_57);
|
||||
lean_inc_ref(x_6);
|
||||
x_60 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_6, x_5, x_3, x_51, x_16, x_1, x_11);
|
||||
x_61 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_61);
|
||||
|
|
@ -521,16 +510,14 @@ if (lean_is_exclusive(x_61)) {
|
|||
lean_dec_ref(x_61);
|
||||
x_64 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_1);
|
||||
x_65 = lean_string_utf8_next_fast(x_1, x_16);
|
||||
lean_dec(x_16);
|
||||
x_72 = lean_array_get_size(x_63);
|
||||
x_73 = lean_nat_dec_lt(x_57, x_72);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
lean_dec(x_72);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -538,9 +525,7 @@ else
|
|||
if (x_73 == 0)
|
||||
{
|
||||
lean_dec(x_72);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -552,9 +537,7 @@ lean_dec(x_72);
|
|||
x_76 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_EditDistance_levenshtein_spec__2(x_7, x_63, x_74, x_75);
|
||||
if (x_76 == 0)
|
||||
{
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -622,8 +605,6 @@ return x_70;
|
|||
else
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* x_84;
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_51);
|
||||
lean_ctor_set(x_82, 1, x_52);
|
||||
|
|
@ -686,7 +667,6 @@ lean_ctor_set(x_95, 1, x_92);
|
|||
x_96 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_96, 0, x_93);
|
||||
lean_ctor_set(x_96, 1, x_95);
|
||||
lean_inc_ref(x_6);
|
||||
x_97 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_6, x_5, x_3, x_86, x_85, x_1, x_96);
|
||||
x_98 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_98);
|
||||
|
|
@ -708,16 +688,14 @@ if (lean_is_exclusive(x_98)) {
|
|||
lean_dec_ref(x_98);
|
||||
x_101 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_1);
|
||||
x_102 = lean_string_utf8_next_fast(x_1, x_85);
|
||||
lean_dec(x_85);
|
||||
x_109 = lean_array_get_size(x_100);
|
||||
x_110 = lean_nat_dec_lt(x_93, x_109);
|
||||
if (x_110 == 0)
|
||||
{
|
||||
lean_dec(x_109);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -725,9 +703,7 @@ else
|
|||
if (x_110 == 0)
|
||||
{
|
||||
lean_dec(x_109);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -739,9 +715,7 @@ lean_dec(x_109);
|
|||
x_113 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_EditDistance_levenshtein_spec__2(x_7, x_100, x_111, x_112);
|
||||
if (x_113 == 0)
|
||||
{
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -809,8 +783,6 @@ return x_107;
|
|||
else
|
||||
{
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_88)) {
|
||||
x_119 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -896,7 +868,6 @@ x_26 = lean_nat_mod(x_6, x_2);
|
|||
lean_ctor_set(x_12, 1, x_24);
|
||||
lean_ctor_set(x_12, 0, x_26);
|
||||
lean_ctor_set(x_11, 0, x_25);
|
||||
lean_inc_ref(x_1);
|
||||
x_27 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_1, x_2, x_3, x_19, x_16, x_4, x_11);
|
||||
x_28 = lean_ctor_get(x_27, 1);
|
||||
lean_inc(x_28);
|
||||
|
|
@ -918,16 +889,14 @@ if (lean_is_exclusive(x_28)) {
|
|||
lean_dec_ref(x_28);
|
||||
x_31 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_4);
|
||||
x_32 = lean_string_utf8_next_fast(x_4, x_16);
|
||||
lean_dec(x_16);
|
||||
x_39 = lean_array_get_size(x_30);
|
||||
x_40 = lean_nat_dec_lt(x_25, x_39);
|
||||
if (x_40 == 0)
|
||||
{
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -936,8 +905,6 @@ if (x_40 == 0)
|
|||
{
|
||||
lean_dec(x_39);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -950,8 +917,6 @@ x_43 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_E
|
|||
if (x_43 == 0)
|
||||
{
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_38;
|
||||
}
|
||||
else
|
||||
|
|
@ -1019,8 +984,6 @@ return x_37;
|
|||
else
|
||||
{
|
||||
lean_object* x_49; lean_object* x_50;
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_14)) {
|
||||
x_49 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -1063,7 +1026,6 @@ lean_ctor_set(x_59, 0, x_58);
|
|||
lean_ctor_set(x_59, 1, x_56);
|
||||
lean_ctor_set(x_11, 1, x_59);
|
||||
lean_ctor_set(x_11, 0, x_57);
|
||||
lean_inc_ref(x_1);
|
||||
x_60 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_1, x_2, x_3, x_51, x_16, x_4, x_11);
|
||||
x_61 = lean_ctor_get(x_60, 1);
|
||||
lean_inc(x_61);
|
||||
|
|
@ -1085,16 +1047,14 @@ if (lean_is_exclusive(x_61)) {
|
|||
lean_dec_ref(x_61);
|
||||
x_64 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_4);
|
||||
x_65 = lean_string_utf8_next_fast(x_4, x_16);
|
||||
lean_dec(x_16);
|
||||
x_72 = lean_array_get_size(x_63);
|
||||
x_73 = lean_nat_dec_lt(x_57, x_72);
|
||||
if (x_73 == 0)
|
||||
{
|
||||
lean_dec(x_72);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -1103,8 +1063,6 @@ if (x_73 == 0)
|
|||
{
|
||||
lean_dec(x_72);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -1117,8 +1075,6 @@ x_76 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_E
|
|||
if (x_76 == 0)
|
||||
{
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_71;
|
||||
}
|
||||
else
|
||||
|
|
@ -1186,8 +1142,6 @@ return x_70;
|
|||
else
|
||||
{
|
||||
lean_object* x_82; lean_object* x_83; lean_object* x_84;
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_82, 0, x_51);
|
||||
lean_ctor_set(x_82, 1, x_52);
|
||||
|
|
@ -1250,7 +1204,6 @@ lean_ctor_set(x_95, 1, x_92);
|
|||
x_96 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_96, 0, x_93);
|
||||
lean_ctor_set(x_96, 1, x_95);
|
||||
lean_inc_ref(x_1);
|
||||
x_97 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__1(x_1, x_2, x_3, x_86, x_85, x_4, x_96);
|
||||
x_98 = lean_ctor_get(x_97, 1);
|
||||
lean_inc(x_98);
|
||||
|
|
@ -1272,16 +1225,14 @@ if (lean_is_exclusive(x_98)) {
|
|||
lean_dec_ref(x_98);
|
||||
x_101 = lean_box(0);
|
||||
}
|
||||
lean_inc_ref(x_4);
|
||||
x_102 = lean_string_utf8_next_fast(x_4, x_85);
|
||||
lean_dec(x_85);
|
||||
x_109 = lean_array_get_size(x_100);
|
||||
x_110 = lean_nat_dec_lt(x_93, x_109);
|
||||
if (x_110 == 0)
|
||||
{
|
||||
lean_dec(x_109);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -1290,8 +1241,6 @@ if (x_110 == 0)
|
|||
{
|
||||
lean_dec(x_109);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -1304,8 +1253,6 @@ x_113 = l___private_Init_Data_Array_Basic_0__Array_anyMUnsafe_any___at___00Lean_
|
|||
if (x_113 == 0)
|
||||
{
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
goto block_108;
|
||||
}
|
||||
else
|
||||
|
|
@ -1373,8 +1320,6 @@ return x_107;
|
|||
else
|
||||
{
|
||||
lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122;
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_88)) {
|
||||
x_119 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -1501,8 +1446,6 @@ else
|
|||
{
|
||||
lean_object* x_30;
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
x_30 = lean_box(0);
|
||||
return x_30;
|
||||
}
|
||||
|
|
@ -1557,6 +1500,7 @@ lean_dec(x_5);
|
|||
lean_dec_ref(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
|
|
@ -1581,9 +1525,11 @@ _start:
|
|||
lean_object* x_9;
|
||||
x_9 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__3_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec_ref(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -1594,8 +1540,10 @@ lean_object* x_9;
|
|||
x_9 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_EditDistance_levenshtein_spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8);
|
||||
lean_dec(x_7);
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
|
|
@ -1605,6 +1553,8 @@ _start:
|
|||
lean_object* x_4;
|
||||
x_4 = l_Lean_EditDistance_levenshtein(x_1, x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
168
stage0/stdlib/Lean/Data/Json/Parser.c
generated
168
stage0/stdlib/Lean/Data/Json/Parser.c
generated
|
|
@ -184,8 +184,8 @@ lean_dec(x_7);
|
|||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_8);
|
||||
x_9 = lean_string_utf8_get_fast(x_2, x_3);
|
||||
lean_inc(x_2);
|
||||
x_10 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_1, 1, x_10);
|
||||
x_35 = 48;
|
||||
x_46 = lean_uint32_dec_le(x_35, x_9);
|
||||
|
|
@ -305,8 +305,8 @@ else
|
|||
uint32_t x_49; lean_object* x_50; lean_object* x_51; uint32_t x_52; uint8_t x_53; uint32_t x_63; uint8_t x_64; uint32_t x_76; uint8_t x_77; uint8_t x_87;
|
||||
lean_dec(x_1);
|
||||
x_49 = lean_string_utf8_get_fast(x_2, x_3);
|
||||
lean_inc(x_2);
|
||||
x_50 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_51 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_51, 0, x_2);
|
||||
lean_ctor_set(x_51, 1, x_50);
|
||||
|
|
@ -475,8 +475,8 @@ lean_dec(x_12);
|
|||
x_13 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_13);
|
||||
x_14 = lean_string_utf8_get_fast(x_7, x_8);
|
||||
lean_inc(x_7);
|
||||
x_15 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_15);
|
||||
lean_inc(x_7);
|
||||
lean_ctor_set(x_2, 1, x_15);
|
||||
|
|
@ -503,8 +503,8 @@ if (x_20 == 0)
|
|||
uint32_t x_21; lean_object* x_22; lean_object* x_23; uint32_t x_24; uint8_t x_25;
|
||||
lean_dec_ref(x_2);
|
||||
x_21 = lean_string_utf8_get_fast(x_7, x_15);
|
||||
lean_inc(x_7);
|
||||
x_22 = lean_string_utf8_next_fast(x_7, x_15);
|
||||
lean_dec(x_15);
|
||||
lean_inc(x_22);
|
||||
lean_inc(x_7);
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -534,8 +534,8 @@ if (x_28 == 0)
|
|||
uint32_t x_29; lean_object* x_30; lean_object* x_31; uint32_t x_122; uint8_t x_123;
|
||||
lean_dec_ref(x_23);
|
||||
x_29 = lean_string_utf8_get_fast(x_7, x_22);
|
||||
lean_inc(x_7);
|
||||
x_30 = lean_string_utf8_next_fast(x_7, x_22);
|
||||
lean_dec(x_22);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_7);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
|
|
@ -874,8 +874,8 @@ else
|
|||
uint32_t x_132; lean_object* x_133; lean_object* x_134; uint32_t x_135; uint8_t x_136;
|
||||
lean_dec(x_2);
|
||||
x_132 = lean_string_utf8_get_fast(x_7, x_8);
|
||||
lean_inc(x_7);
|
||||
x_133 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_133);
|
||||
lean_inc(x_7);
|
||||
x_134 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -904,8 +904,8 @@ if (x_139 == 0)
|
|||
uint32_t x_140; lean_object* x_141; lean_object* x_142; uint32_t x_143; uint8_t x_144;
|
||||
lean_dec_ref(x_134);
|
||||
x_140 = lean_string_utf8_get_fast(x_7, x_133);
|
||||
lean_inc(x_7);
|
||||
x_141 = lean_string_utf8_next_fast(x_7, x_133);
|
||||
lean_dec(x_133);
|
||||
lean_inc(x_141);
|
||||
lean_inc(x_7);
|
||||
x_142 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -935,8 +935,8 @@ if (x_147 == 0)
|
|||
uint32_t x_148; lean_object* x_149; lean_object* x_150; uint32_t x_208; uint8_t x_209;
|
||||
lean_dec_ref(x_142);
|
||||
x_148 = lean_string_utf8_get_fast(x_7, x_141);
|
||||
lean_inc(x_7);
|
||||
x_149 = lean_string_utf8_next_fast(x_7, x_141);
|
||||
lean_dec(x_141);
|
||||
x_150 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_150, 0, x_7);
|
||||
lean_ctor_set(x_150, 1, x_149);
|
||||
|
|
@ -1360,8 +1360,8 @@ lean_dec(x_7);
|
|||
x_8 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_8);
|
||||
x_9 = lean_string_utf8_get_fast(x_2, x_3);
|
||||
lean_inc(x_2);
|
||||
x_10 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_1, 1, x_10);
|
||||
x_11 = 92;
|
||||
x_12 = lean_uint32_dec_eq(x_9, x_11);
|
||||
|
|
@ -1991,8 +1991,8 @@ else
|
|||
uint32_t x_165; lean_object* x_166; lean_object* x_167; uint32_t x_168; uint8_t x_169;
|
||||
lean_dec(x_1);
|
||||
x_165 = lean_string_utf8_get_fast(x_2, x_3);
|
||||
lean_inc(x_2);
|
||||
x_166 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_167 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_167, 0, x_2);
|
||||
lean_ctor_set(x_167, 1, x_166);
|
||||
|
|
@ -2503,8 +2503,8 @@ x_12 = lean_uint32_dec_eq(x_10, x_11);
|
|||
if (x_12 == 0)
|
||||
{
|
||||
lean_object* x_13; uint8_t x_14; uint32_t x_20; uint8_t x_21;
|
||||
lean_inc(x_3);
|
||||
x_13 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_13);
|
||||
x_20 = 92;
|
||||
x_21 = lean_uint32_dec_eq(x_10, x_20);
|
||||
|
|
@ -2594,8 +2594,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_36; lean_object* x_37;
|
||||
lean_inc(x_3);
|
||||
x_36 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_36);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_2);
|
||||
|
|
@ -2613,8 +2613,8 @@ x_40 = lean_uint32_dec_eq(x_38, x_39);
|
|||
if (x_40 == 0)
|
||||
{
|
||||
lean_object* x_41; lean_object* x_42; uint8_t x_43; uint32_t x_49; uint8_t x_50;
|
||||
lean_inc(x_3);
|
||||
x_41 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_42 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_42, 0, x_3);
|
||||
lean_ctor_set(x_42, 1, x_41);
|
||||
|
|
@ -2709,8 +2709,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
lean_inc(x_3);
|
||||
x_65 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_66 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_66, 0, x_3);
|
||||
lean_ctor_set(x_66, 1, x_65);
|
||||
|
|
@ -2793,8 +2793,8 @@ x_12 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_12);
|
||||
x_13 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_13);
|
||||
lean_inc(x_3);
|
||||
x_14 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_14);
|
||||
x_15 = lean_unsigned_to_nat(10u);
|
||||
x_16 = lean_nat_mul(x_15, x_1);
|
||||
|
|
@ -2811,8 +2811,8 @@ else
|
|||
{
|
||||
lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint32_t x_25; lean_object* x_26; lean_object* x_27;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_21 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_3);
|
||||
lean_ctor_set(x_22, 1, x_21);
|
||||
|
|
@ -2895,8 +2895,8 @@ x_14 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_14);
|
||||
x_15 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_15);
|
||||
lean_inc(x_4);
|
||||
x_16 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 1, x_16);
|
||||
x_17 = lean_unsigned_to_nat(10u);
|
||||
x_18 = lean_nat_mul(x_17, x_1);
|
||||
|
|
@ -2917,8 +2917,8 @@ else
|
|||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint32_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_4);
|
||||
x_25 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
x_26 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_4);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
|
|
@ -3366,8 +3366,8 @@ x_12 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_12);
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_13);
|
||||
lean_inc(x_2);
|
||||
x_14 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_1, 1, x_14);
|
||||
x_15 = l_Lean_Json_Parser_numSign___closed__1;
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3379,8 +3379,8 @@ else
|
|||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_17 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_2);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -3450,8 +3450,8 @@ x_20 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_20);
|
||||
x_21 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_21);
|
||||
lean_inc(x_8);
|
||||
x_22 = lean_string_utf8_next_fast(x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_1, 1, x_22);
|
||||
x_23 = lean_unsigned_to_nat(0u);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3463,8 +3463,8 @@ else
|
|||
{
|
||||
lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_8);
|
||||
x_25 = lean_string_utf8_next_fast(x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
x_26 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_26, 0, x_8);
|
||||
lean_ctor_set(x_26, 1, x_25);
|
||||
|
|
@ -3572,8 +3572,8 @@ x_131 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_131);
|
||||
x_132 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_132);
|
||||
lean_inc(x_122);
|
||||
x_133 = lean_string_utf8_next_fast(x_122, x_123);
|
||||
lean_dec(x_123);
|
||||
lean_inc(x_133);
|
||||
lean_inc(x_122);
|
||||
lean_ctor_set(x_1, 1, x_133);
|
||||
|
|
@ -3588,8 +3588,8 @@ else
|
|||
{
|
||||
lean_object* x_135; lean_object* x_136; lean_object* x_137;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_122);
|
||||
x_135 = lean_string_utf8_next_fast(x_122, x_123);
|
||||
lean_dec(x_123);
|
||||
lean_inc(x_135);
|
||||
lean_inc(x_122);
|
||||
x_136 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3833,8 +3833,8 @@ else
|
|||
{
|
||||
lean_object* x_78; lean_object* x_79; uint8_t x_80;
|
||||
lean_dec_ref(x_65);
|
||||
lean_inc(x_66);
|
||||
x_78 = lean_string_utf8_next_fast(x_66, x_67);
|
||||
lean_dec(x_67);
|
||||
lean_inc(x_78);
|
||||
lean_inc(x_66);
|
||||
x_79 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3985,8 +3985,8 @@ else
|
|||
{
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118;
|
||||
lean_dec_ref(x_103);
|
||||
lean_inc(x_104);
|
||||
x_116 = lean_string_utf8_next_fast(x_104, x_105);
|
||||
lean_dec(x_105);
|
||||
lean_inc(x_116);
|
||||
lean_inc(x_104);
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4271,8 +4271,8 @@ x_60 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_60);
|
||||
x_61 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_61);
|
||||
lean_inc(x_55);
|
||||
x_62 = lean_string_utf8_next_fast(x_55, x_56);
|
||||
lean_dec(x_56);
|
||||
lean_inc(x_62);
|
||||
lean_inc(x_55);
|
||||
lean_ctor_set(x_2, 1, x_62);
|
||||
|
|
@ -4300,8 +4300,8 @@ else
|
|||
{
|
||||
lean_object* x_69; lean_object* x_70;
|
||||
lean_dec_ref(x_2);
|
||||
lean_inc(x_55);
|
||||
x_69 = lean_string_utf8_next_fast(x_55, x_62);
|
||||
lean_dec(x_62);
|
||||
lean_inc(x_69);
|
||||
lean_inc(x_55);
|
||||
x_70 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4317,8 +4317,8 @@ else
|
|||
{
|
||||
lean_object* x_71; lean_object* x_72; uint8_t x_73;
|
||||
lean_dec_ref(x_2);
|
||||
lean_inc(x_55);
|
||||
x_71 = lean_string_utf8_next_fast(x_55, x_62);
|
||||
lean_dec(x_62);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_55);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4389,8 +4389,8 @@ else
|
|||
{
|
||||
lean_object* x_81; lean_object* x_82; uint8_t x_83;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_55);
|
||||
x_81 = lean_string_utf8_next_fast(x_55, x_56);
|
||||
lean_dec(x_56);
|
||||
lean_inc(x_81);
|
||||
lean_inc(x_55);
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4420,8 +4420,8 @@ else
|
|||
{
|
||||
lean_object* x_89; lean_object* x_90;
|
||||
lean_dec_ref(x_82);
|
||||
lean_inc(x_55);
|
||||
x_89 = lean_string_utf8_next_fast(x_55, x_81);
|
||||
lean_dec(x_81);
|
||||
lean_inc(x_89);
|
||||
lean_inc(x_55);
|
||||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4437,8 +4437,8 @@ else
|
|||
{
|
||||
lean_object* x_91; lean_object* x_92; uint8_t x_93;
|
||||
lean_dec_ref(x_82);
|
||||
lean_inc(x_55);
|
||||
x_91 = lean_string_utf8_next_fast(x_55, x_81);
|
||||
lean_dec(x_81);
|
||||
lean_inc(x_91);
|
||||
lean_inc(x_55);
|
||||
x_92 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4566,8 +4566,8 @@ x_236 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_236);
|
||||
x_237 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_237);
|
||||
lean_inc(x_227);
|
||||
x_238 = lean_string_utf8_next_fast(x_227, x_228);
|
||||
lean_dec(x_228);
|
||||
lean_inc(x_238);
|
||||
lean_inc(x_227);
|
||||
lean_ctor_set(x_1, 1, x_238);
|
||||
|
|
@ -4582,8 +4582,8 @@ else
|
|||
{
|
||||
lean_object* x_240; lean_object* x_241; lean_object* x_242;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_227);
|
||||
x_240 = lean_string_utf8_next_fast(x_227, x_228);
|
||||
lean_dec(x_228);
|
||||
lean_inc(x_240);
|
||||
lean_inc(x_227);
|
||||
x_241 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4791,8 +4791,8 @@ if (x_62 == 0)
|
|||
{
|
||||
lean_object* x_63; lean_object* x_64; uint8_t x_65;
|
||||
lean_dec_ref(x_58);
|
||||
lean_inc(x_59);
|
||||
x_63 = lean_string_utf8_next_fast(x_59, x_60);
|
||||
lean_dec(x_60);
|
||||
lean_inc(x_63);
|
||||
lean_inc(x_59);
|
||||
x_64 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4823,8 +4823,8 @@ else
|
|||
{
|
||||
lean_object* x_71; lean_object* x_72;
|
||||
lean_dec_ref(x_64);
|
||||
lean_inc(x_59);
|
||||
x_71 = lean_string_utf8_next_fast(x_59, x_63);
|
||||
lean_dec(x_63);
|
||||
lean_inc(x_71);
|
||||
lean_inc(x_59);
|
||||
x_72 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -4841,8 +4841,8 @@ else
|
|||
{
|
||||
lean_object* x_73; lean_object* x_74; uint8_t x_75;
|
||||
lean_dec_ref(x_64);
|
||||
lean_inc(x_59);
|
||||
x_73 = lean_string_utf8_next_fast(x_59, x_63);
|
||||
lean_dec(x_63);
|
||||
lean_inc(x_73);
|
||||
lean_inc(x_59);
|
||||
x_74 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5239,8 +5239,8 @@ else
|
|||
{
|
||||
lean_object* x_183; lean_object* x_184; uint8_t x_185;
|
||||
lean_dec_ref(x_170);
|
||||
lean_inc(x_171);
|
||||
x_183 = lean_string_utf8_next_fast(x_171, x_172);
|
||||
lean_dec(x_172);
|
||||
lean_inc(x_183);
|
||||
lean_inc(x_171);
|
||||
x_184 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5396,8 +5396,8 @@ else
|
|||
{
|
||||
lean_object* x_221; lean_object* x_222; lean_object* x_223;
|
||||
lean_dec_ref(x_208);
|
||||
lean_inc(x_209);
|
||||
x_221 = lean_string_utf8_next_fast(x_209, x_210);
|
||||
lean_dec(x_210);
|
||||
lean_inc(x_221);
|
||||
lean_inc(x_209);
|
||||
x_222 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5479,8 +5479,8 @@ x_13 = lean_ctor_get(x_5, 0);
|
|||
lean_dec(x_13);
|
||||
x_14 = lean_array_push(x_1, x_6);
|
||||
x_15 = lean_string_utf8_get_fast(x_7, x_8);
|
||||
lean_inc(x_7);
|
||||
x_16 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
x_17 = 93;
|
||||
x_18 = lean_uint32_dec_eq(x_15, x_17);
|
||||
if (x_18 == 0)
|
||||
|
|
@ -5502,7 +5502,6 @@ else
|
|||
{
|
||||
lean_object* x_22;
|
||||
lean_free_object(x_3);
|
||||
lean_inc(x_7);
|
||||
x_22 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_7, x_16);
|
||||
lean_ctor_set(x_5, 1, x_22);
|
||||
x_1 = x_14;
|
||||
|
|
@ -5513,7 +5512,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_24;
|
||||
lean_inc(x_7);
|
||||
x_24 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_7, x_16);
|
||||
lean_ctor_set(x_5, 1, x_24);
|
||||
lean_ctor_set(x_3, 1, x_14);
|
||||
|
|
@ -5526,8 +5524,8 @@ lean_object* x_25; uint32_t x_26; lean_object* x_27; uint32_t x_28; uint8_t x_29
|
|||
lean_dec(x_5);
|
||||
x_25 = lean_array_push(x_1, x_6);
|
||||
x_26 = lean_string_utf8_get_fast(x_7, x_8);
|
||||
lean_inc(x_7);
|
||||
x_27 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
x_28 = 93;
|
||||
x_29 = lean_uint32_dec_eq(x_26, x_28);
|
||||
if (x_29 == 0)
|
||||
|
|
@ -5552,7 +5550,6 @@ else
|
|||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
lean_free_object(x_3);
|
||||
lean_inc(x_7);
|
||||
x_34 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_7, x_27);
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_35, 0, x_7);
|
||||
|
|
@ -5565,7 +5562,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_inc(x_7);
|
||||
x_37 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_7, x_27);
|
||||
x_38 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_38, 0, x_7);
|
||||
|
|
@ -5615,8 +5611,8 @@ if (lean_is_exclusive(x_40)) {
|
|||
}
|
||||
x_47 = lean_array_push(x_1, x_41);
|
||||
x_48 = lean_string_utf8_get_fast(x_42, x_43);
|
||||
lean_inc(x_42);
|
||||
x_49 = lean_string_utf8_next_fast(x_42, x_43);
|
||||
lean_dec(x_43);
|
||||
x_50 = 93;
|
||||
x_51 = lean_uint32_dec_eq(x_48, x_50);
|
||||
if (x_51 == 0)
|
||||
|
|
@ -5644,7 +5640,6 @@ return x_56;
|
|||
else
|
||||
{
|
||||
lean_object* x_57; lean_object* x_58;
|
||||
lean_inc(x_42);
|
||||
x_57 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_42, x_49);
|
||||
if (lean_is_scalar(x_46)) {
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5661,7 +5656,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61; lean_object* x_62;
|
||||
lean_inc(x_42);
|
||||
x_60 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_42, x_49);
|
||||
if (lean_is_scalar(x_46)) {
|
||||
x_61 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5884,7 +5878,6 @@ if (x_63 == 0)
|
|||
lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67;
|
||||
x_64 = lean_ctor_get(x_61, 0);
|
||||
x_65 = lean_ctor_get(x_61, 1);
|
||||
lean_inc(x_64);
|
||||
x_66 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_64, x_65);
|
||||
lean_ctor_set(x_61, 1, x_66);
|
||||
x_67 = lean_box(0);
|
||||
|
|
@ -5899,7 +5892,6 @@ x_69 = lean_ctor_get(x_61, 1);
|
|||
lean_inc(x_69);
|
||||
lean_inc(x_68);
|
||||
lean_dec(x_61);
|
||||
lean_inc(x_68);
|
||||
x_70 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_68, x_69);
|
||||
x_71 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_71, 0, x_68);
|
||||
|
|
@ -5928,7 +5920,6 @@ if (lean_is_exclusive(x_73)) {
|
|||
lean_dec_ref(x_73);
|
||||
x_76 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_74);
|
||||
x_77 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_74, x_75);
|
||||
if (lean_is_scalar(x_76)) {
|
||||
x_78 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -5989,7 +5980,6 @@ if (x_90 == 0)
|
|||
lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94;
|
||||
x_91 = lean_ctor_get(x_88, 0);
|
||||
x_92 = lean_ctor_get(x_88, 1);
|
||||
lean_inc(x_91);
|
||||
x_93 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_91, x_92);
|
||||
lean_ctor_set(x_88, 1, x_93);
|
||||
x_94 = lean_alloc_ctor(1, 0, 1);
|
||||
|
|
@ -6005,7 +5995,6 @@ x_96 = lean_ctor_get(x_88, 1);
|
|||
lean_inc(x_96);
|
||||
lean_inc(x_95);
|
||||
lean_dec(x_88);
|
||||
lean_inc(x_95);
|
||||
x_97 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_95, x_96);
|
||||
x_98 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_98, 0, x_95);
|
||||
|
|
@ -6035,7 +6024,6 @@ if (lean_is_exclusive(x_100)) {
|
|||
lean_dec_ref(x_100);
|
||||
x_103 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_101);
|
||||
x_104 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_101, x_102);
|
||||
if (lean_is_scalar(x_103)) {
|
||||
x_105 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -6097,7 +6085,6 @@ if (x_117 == 0)
|
|||
lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121;
|
||||
x_118 = lean_ctor_get(x_115, 0);
|
||||
x_119 = lean_ctor_get(x_115, 1);
|
||||
lean_inc(x_118);
|
||||
x_120 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_118, x_119);
|
||||
lean_ctor_set(x_115, 1, x_120);
|
||||
x_121 = lean_alloc_ctor(1, 0, 1);
|
||||
|
|
@ -6113,7 +6100,6 @@ x_123 = lean_ctor_get(x_115, 1);
|
|||
lean_inc(x_123);
|
||||
lean_inc(x_122);
|
||||
lean_dec(x_115);
|
||||
lean_inc(x_122);
|
||||
x_124 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_122, x_123);
|
||||
x_125 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_125, 0, x_122);
|
||||
|
|
@ -6143,7 +6129,6 @@ if (lean_is_exclusive(x_127)) {
|
|||
lean_dec_ref(x_127);
|
||||
x_130 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_128);
|
||||
x_131 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_128, x_129);
|
||||
if (lean_is_scalar(x_130)) {
|
||||
x_132 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -6197,8 +6182,8 @@ x_140 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_140);
|
||||
x_141 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_141);
|
||||
lean_inc(x_35);
|
||||
x_142 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_dec(x_36);
|
||||
lean_ctor_set(x_1, 1, x_142);
|
||||
x_143 = l_Lean_Json_Parser_finishSurrogatePair___closed__0;
|
||||
x_144 = l_Lean_Json_Parser_strCore(x_143, x_1);
|
||||
|
|
@ -6217,7 +6202,6 @@ lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151;
|
|||
x_148 = lean_ctor_get(x_144, 1);
|
||||
x_149 = lean_ctor_get(x_146, 0);
|
||||
x_150 = lean_ctor_get(x_146, 1);
|
||||
lean_inc(x_149);
|
||||
x_151 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_149, x_150);
|
||||
lean_ctor_set(x_146, 1, x_151);
|
||||
x_152 = lean_alloc_ctor(3, 1, 0);
|
||||
|
|
@ -6234,7 +6218,6 @@ x_155 = lean_ctor_get(x_146, 1);
|
|||
lean_inc(x_155);
|
||||
lean_inc(x_154);
|
||||
lean_dec(x_146);
|
||||
lean_inc(x_154);
|
||||
x_156 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_154, x_155);
|
||||
x_157 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_157, 0, x_154);
|
||||
|
|
@ -6266,7 +6249,6 @@ if (lean_is_exclusive(x_159)) {
|
|||
lean_dec_ref(x_159);
|
||||
x_163 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_161);
|
||||
x_164 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_161, x_162);
|
||||
if (lean_is_scalar(x_163)) {
|
||||
x_165 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -6310,8 +6292,8 @@ else
|
|||
{
|
||||
lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_35);
|
||||
x_172 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_dec(x_36);
|
||||
x_173 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_173, 0, x_35);
|
||||
lean_ctor_set(x_173, 1, x_172);
|
||||
|
|
@ -6344,7 +6326,6 @@ if (lean_is_exclusive(x_176)) {
|
|||
lean_dec_ref(x_176);
|
||||
x_181 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_179);
|
||||
x_182 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_179, x_180);
|
||||
if (lean_is_scalar(x_181)) {
|
||||
x_183 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -6404,9 +6385,8 @@ x_191 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_191);
|
||||
x_192 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_192);
|
||||
lean_inc(x_35);
|
||||
x_193 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_36);
|
||||
x_194 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_193);
|
||||
lean_inc(x_194);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -6505,9 +6485,8 @@ else
|
|||
{
|
||||
lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218;
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_35);
|
||||
x_214 = lean_string_utf8_next_fast(x_35, x_194);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_194);
|
||||
x_215 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_214);
|
||||
x_216 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_216, 0, x_35);
|
||||
|
|
@ -6525,9 +6504,8 @@ else
|
|||
{
|
||||
lean_object* x_221; lean_object* x_222; lean_object* x_223; uint8_t x_224; uint8_t x_247;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_35);
|
||||
x_221 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_36);
|
||||
x_222 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_221);
|
||||
lean_inc(x_222);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -6627,9 +6605,8 @@ else
|
|||
{
|
||||
lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245;
|
||||
lean_dec_ref(x_223);
|
||||
lean_inc(x_35);
|
||||
x_241 = lean_string_utf8_next_fast(x_35, x_222);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_222);
|
||||
x_242 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_241);
|
||||
x_243 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_243, 0, x_35);
|
||||
|
|
@ -6658,9 +6635,8 @@ x_249 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_249);
|
||||
x_250 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_250);
|
||||
lean_inc(x_35);
|
||||
x_251 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_36);
|
||||
x_252 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_251);
|
||||
lean_inc(x_252);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -6744,9 +6720,8 @@ else
|
|||
{
|
||||
lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277;
|
||||
lean_dec_ref(x_1);
|
||||
lean_inc(x_35);
|
||||
x_273 = lean_string_utf8_next_fast(x_35, x_252);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_252);
|
||||
x_274 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_273);
|
||||
x_275 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_275, 0, x_35);
|
||||
|
|
@ -6779,9 +6754,8 @@ else
|
|||
{
|
||||
lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_284;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_35);
|
||||
x_278 = lean_string_utf8_next_fast(x_35, x_36);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_36);
|
||||
x_279 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_278);
|
||||
lean_inc(x_279);
|
||||
lean_inc(x_35);
|
||||
|
|
@ -6866,9 +6840,8 @@ else
|
|||
{
|
||||
lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303;
|
||||
lean_dec_ref(x_280);
|
||||
lean_inc(x_35);
|
||||
x_299 = lean_string_utf8_next_fast(x_35, x_279);
|
||||
lean_inc(x_35);
|
||||
lean_dec(x_279);
|
||||
x_300 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_35, x_299);
|
||||
x_301 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_301, 0, x_35);
|
||||
|
|
@ -6928,7 +6901,6 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_obj
|
|||
x_6 = lean_ctor_get(x_2, 1);
|
||||
x_7 = lean_ctor_get(x_4, 0);
|
||||
x_8 = lean_ctor_get(x_4, 1);
|
||||
lean_inc(x_7);
|
||||
x_9 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_7, x_8);
|
||||
lean_ctor_set(x_4, 1, x_9);
|
||||
x_10 = lean_alloc_ctor(2, 1, 0);
|
||||
|
|
@ -6945,7 +6917,6 @@ x_13 = lean_ctor_get(x_4, 1);
|
|||
lean_inc(x_13);
|
||||
lean_inc(x_12);
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_12);
|
||||
x_14 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_12, x_13);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_15, 0, x_12);
|
||||
|
|
@ -6977,7 +6948,6 @@ if (lean_is_exclusive(x_17)) {
|
|||
lean_dec_ref(x_17);
|
||||
x_21 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_19);
|
||||
x_22 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_19, x_20);
|
||||
if (lean_is_scalar(x_21)) {
|
||||
x_23 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -8535,8 +8505,8 @@ x_13 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_13);
|
||||
x_14 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_14);
|
||||
lean_inc(x_3);
|
||||
x_15 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_15);
|
||||
x_16 = l_Lean_Json_Parser_finishSurrogatePair___closed__0;
|
||||
x_17 = l_Lean_Json_Parser_strCore(x_16, x_2);
|
||||
|
|
@ -8561,7 +8531,6 @@ if (x_21 == 0)
|
|||
lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_28; uint8_t x_29;
|
||||
x_22 = lean_ctor_get(x_18, 0);
|
||||
x_23 = lean_ctor_get(x_18, 1);
|
||||
lean_inc(x_22);
|
||||
x_24 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_22, x_23);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_22);
|
||||
|
|
@ -8603,9 +8572,8 @@ else
|
|||
{
|
||||
lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_dec_ref(x_18);
|
||||
lean_inc(x_22);
|
||||
x_35 = lean_string_utf8_next_fast(x_22, x_24);
|
||||
lean_inc(x_22);
|
||||
lean_dec(x_24);
|
||||
x_36 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_22, x_35);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_22);
|
||||
|
|
@ -8655,8 +8623,8 @@ lean_dec(x_50);
|
|||
x_51 = lean_ctor_get(x_39, 0);
|
||||
lean_dec(x_51);
|
||||
x_52 = lean_string_utf8_get_fast(x_45, x_46);
|
||||
lean_inc(x_45);
|
||||
x_53 = lean_string_utf8_next_fast(x_45, x_46);
|
||||
lean_dec(x_46);
|
||||
x_54 = 125;
|
||||
x_55 = lean_uint32_dec_eq(x_52, x_54);
|
||||
if (x_55 == 0)
|
||||
|
|
@ -8680,7 +8648,6 @@ return x_59;
|
|||
else
|
||||
{
|
||||
lean_object* x_60; lean_object* x_61;
|
||||
lean_inc(x_45);
|
||||
x_60 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_45, x_53);
|
||||
lean_ctor_set(x_39, 1, x_60);
|
||||
x_61 = l_Std_DTreeMap_Internal_Impl_insert_x21___at___00Lean_Json_Parser_objectCore_spec__0___redArg(x_19, x_40, x_1);
|
||||
|
|
@ -8692,7 +8659,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_63; lean_object* x_64; lean_object* x_65;
|
||||
lean_inc(x_45);
|
||||
x_63 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_45, x_53);
|
||||
lean_ctor_set(x_39, 1, x_63);
|
||||
x_64 = l_Std_DTreeMap_Internal_Impl_insert_x21___at___00Lean_Json_Parser_objectCore_spec__0___redArg(x_19, x_40, x_1);
|
||||
|
|
@ -8707,8 +8673,8 @@ else
|
|||
uint32_t x_66; lean_object* x_67; uint32_t x_68; uint8_t x_69;
|
||||
lean_dec(x_39);
|
||||
x_66 = lean_string_utf8_get_fast(x_45, x_46);
|
||||
lean_inc(x_45);
|
||||
x_67 = lean_string_utf8_next_fast(x_45, x_46);
|
||||
lean_dec(x_46);
|
||||
x_68 = 125;
|
||||
x_69 = lean_uint32_dec_eq(x_66, x_68);
|
||||
if (x_69 == 0)
|
||||
|
|
@ -8734,7 +8700,6 @@ return x_74;
|
|||
else
|
||||
{
|
||||
lean_object* x_75; lean_object* x_76; lean_object* x_77;
|
||||
lean_inc(x_45);
|
||||
x_75 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_45, x_67);
|
||||
x_76 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_76, 0, x_45);
|
||||
|
|
@ -8748,7 +8713,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82;
|
||||
lean_inc(x_45);
|
||||
x_79 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_45, x_67);
|
||||
x_80 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_80, 0, x_45);
|
||||
|
|
@ -8842,7 +8806,6 @@ x_88 = lean_ctor_get(x_18, 1);
|
|||
lean_inc(x_88);
|
||||
lean_inc(x_87);
|
||||
lean_dec(x_18);
|
||||
lean_inc(x_87);
|
||||
x_89 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_87, x_88);
|
||||
lean_inc(x_89);
|
||||
lean_inc(x_87);
|
||||
|
|
@ -8886,9 +8849,8 @@ else
|
|||
{
|
||||
lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104;
|
||||
lean_dec_ref(x_90);
|
||||
lean_inc(x_87);
|
||||
x_101 = lean_string_utf8_next_fast(x_87, x_89);
|
||||
lean_inc(x_87);
|
||||
lean_dec(x_89);
|
||||
x_102 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_87, x_101);
|
||||
x_103 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_103, 0, x_87);
|
||||
|
|
@ -8938,8 +8900,8 @@ if (lean_is_exclusive(x_105)) {
|
|||
x_115 = lean_box(0);
|
||||
}
|
||||
x_116 = lean_string_utf8_get_fast(x_111, x_112);
|
||||
lean_inc(x_111);
|
||||
x_117 = lean_string_utf8_next_fast(x_111, x_112);
|
||||
lean_dec(x_112);
|
||||
x_118 = 125;
|
||||
x_119 = lean_uint32_dec_eq(x_116, x_118);
|
||||
if (x_119 == 0)
|
||||
|
|
@ -8969,7 +8931,6 @@ return x_124;
|
|||
else
|
||||
{
|
||||
lean_object* x_125; lean_object* x_126; lean_object* x_127;
|
||||
lean_inc(x_111);
|
||||
x_125 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_111, x_117);
|
||||
if (lean_is_scalar(x_115)) {
|
||||
x_126 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -8987,7 +8948,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132;
|
||||
lean_inc(x_111);
|
||||
x_129 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_111, x_117);
|
||||
if (lean_is_scalar(x_115)) {
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -9107,8 +9067,8 @@ else
|
|||
{
|
||||
lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_141 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_142 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_142, 0, x_3);
|
||||
lean_ctor_set(x_142, 1, x_141);
|
||||
|
|
@ -9141,7 +9101,6 @@ if (lean_is_exclusive(x_145)) {
|
|||
lean_dec_ref(x_145);
|
||||
x_150 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_148);
|
||||
x_151 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_148, x_149);
|
||||
lean_inc(x_151);
|
||||
lean_inc(x_148);
|
||||
|
|
@ -9189,9 +9148,8 @@ else
|
|||
{
|
||||
lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166;
|
||||
lean_dec_ref(x_152);
|
||||
lean_inc(x_148);
|
||||
x_163 = lean_string_utf8_next_fast(x_148, x_151);
|
||||
lean_inc(x_148);
|
||||
lean_dec(x_151);
|
||||
x_164 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_148, x_163);
|
||||
x_165 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_165, 0, x_148);
|
||||
|
|
@ -9241,8 +9199,8 @@ if (lean_is_exclusive(x_167)) {
|
|||
x_177 = lean_box(0);
|
||||
}
|
||||
x_178 = lean_string_utf8_get_fast(x_173, x_174);
|
||||
lean_inc(x_173);
|
||||
x_179 = lean_string_utf8_next_fast(x_173, x_174);
|
||||
lean_dec(x_174);
|
||||
x_180 = 125;
|
||||
x_181 = lean_uint32_dec_eq(x_178, x_180);
|
||||
if (x_181 == 0)
|
||||
|
|
@ -9272,7 +9230,6 @@ return x_186;
|
|||
else
|
||||
{
|
||||
lean_object* x_187; lean_object* x_188; lean_object* x_189;
|
||||
lean_inc(x_173);
|
||||
x_187 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_173, x_179);
|
||||
if (lean_is_scalar(x_177)) {
|
||||
x_188 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -9290,7 +9247,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194;
|
||||
lean_inc(x_173);
|
||||
x_191 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_173, x_179);
|
||||
if (lean_is_scalar(x_177)) {
|
||||
x_192 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -9449,7 +9405,6 @@ if (x_2 == 0)
|
|||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
x_5 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_3, x_4);
|
||||
lean_ctor_set(x_1, 1, x_5);
|
||||
x_6 = l_Lean_Json_Parser_anyCore(x_1);
|
||||
|
|
@ -9509,7 +9464,6 @@ x_19 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_19);
|
||||
lean_inc(x_18);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_18);
|
||||
x_20 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_18, x_19);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_18);
|
||||
|
|
|
|||
4
stage0/stdlib/Lean/Data/Json/Stream.c
generated
4
stage0/stdlib/Lean/Data/Json/Stream.c
generated
|
|
@ -66,7 +66,6 @@ if (x_8 == 0)
|
|||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_string_validate_utf8(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -91,7 +90,6 @@ lean_object* x_13; uint8_t x_14;
|
|||
x_13 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_7);
|
||||
lean_inc(x_13);
|
||||
x_14 = lean_string_validate_utf8(x_13);
|
||||
if (x_14 == 0)
|
||||
{
|
||||
|
|
@ -218,7 +216,6 @@ if (x_8 == 0)
|
|||
{
|
||||
lean_object* x_9; uint8_t x_10;
|
||||
x_9 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_9);
|
||||
x_10 = lean_string_validate_utf8(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
|
|
@ -245,7 +242,6 @@ lean_object* x_15; uint8_t x_16;
|
|||
x_15 = lean_ctor_get(x_7, 0);
|
||||
lean_inc(x_15);
|
||||
lean_dec(x_7);
|
||||
lean_inc(x_15);
|
||||
x_16 = lean_string_validate_utf8(x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
|
|
|
|||
78
stage0/stdlib/Lean/Data/JsonRpc.c
generated
78
stage0/stdlib/Lean/Data/JsonRpc.c
generated
|
|
@ -6387,8 +6387,8 @@ x_12 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_12);
|
||||
x_13 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_13);
|
||||
lean_inc(x_2);
|
||||
x_14 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_1, 1, x_14);
|
||||
x_15 = l_Lean_JsonRpc_instInhabitedRequestID_default___closed__0;
|
||||
x_16 = l_Lean_Json_Parser_strCore(x_15, x_1);
|
||||
|
|
@ -6398,8 +6398,8 @@ else
|
|||
{
|
||||
lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_17 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_18, 0, x_2);
|
||||
lean_ctor_set(x_18, 1, x_17);
|
||||
|
|
@ -7288,8 +7288,8 @@ x_25 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_25);
|
||||
x_26 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_26);
|
||||
lean_inc(x_20);
|
||||
x_27 = lean_string_utf8_next_fast(x_20, x_21);
|
||||
lean_dec(x_21);
|
||||
lean_ctor_set(x_2, 1, x_27);
|
||||
x_28 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_2);
|
||||
if (lean_obj_tag(x_28) == 0)
|
||||
|
|
@ -7325,8 +7325,8 @@ x_37 = lean_ctor_get(x_29, 1);
|
|||
lean_dec(x_37);
|
||||
x_38 = lean_ctor_get(x_29, 0);
|
||||
lean_dec(x_38);
|
||||
lean_inc(x_32);
|
||||
x_39 = lean_string_utf8_next_fast(x_32, x_33);
|
||||
lean_dec(x_33);
|
||||
lean_ctor_set(x_29, 1, x_39);
|
||||
x_56 = l_Lean_JsonRpc_instToJsonMessage___lam__0___closed__4;
|
||||
x_57 = lean_string_dec_eq(x_30, x_56);
|
||||
|
|
@ -7706,8 +7706,8 @@ x_117 = lean_ctor_get(x_109, 1);
|
|||
lean_dec(x_117);
|
||||
x_118 = lean_ctor_get(x_109, 0);
|
||||
lean_dec(x_118);
|
||||
lean_inc(x_111);
|
||||
x_119 = lean_string_utf8_next_fast(x_111, x_112);
|
||||
lean_dec(x_112);
|
||||
lean_ctor_set(x_109, 1, x_119);
|
||||
x_120 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_109);
|
||||
if (lean_obj_tag(x_120) == 0)
|
||||
|
|
@ -7827,8 +7827,8 @@ else
|
|||
{
|
||||
lean_object* x_140; lean_object* x_141; lean_object* x_142;
|
||||
lean_dec(x_109);
|
||||
lean_inc(x_111);
|
||||
x_140 = lean_string_utf8_next_fast(x_111, x_112);
|
||||
lean_dec(x_112);
|
||||
x_141 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_141, 0, x_111);
|
||||
lean_ctor_set(x_141, 1, x_140);
|
||||
|
|
@ -7989,8 +7989,8 @@ x_174 = lean_ctor_get(x_163, 1);
|
|||
lean_dec(x_174);
|
||||
x_175 = lean_ctor_get(x_163, 0);
|
||||
lean_dec(x_175);
|
||||
lean_inc(x_169);
|
||||
x_176 = lean_string_utf8_next_fast(x_169, x_170);
|
||||
lean_dec(x_170);
|
||||
lean_ctor_set(x_163, 1, x_176);
|
||||
x_177 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_163);
|
||||
if (lean_obj_tag(x_177) == 0)
|
||||
|
|
@ -8022,8 +8022,8 @@ x_186 = lean_ctor_get(x_179, 1);
|
|||
lean_dec(x_186);
|
||||
x_187 = lean_ctor_get(x_179, 0);
|
||||
lean_dec(x_187);
|
||||
lean_inc(x_181);
|
||||
x_188 = lean_string_utf8_next_fast(x_181, x_182);
|
||||
lean_dec(x_182);
|
||||
lean_ctor_set(x_179, 1, x_188);
|
||||
x_189 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_179);
|
||||
if (lean_obj_tag(x_189) == 0)
|
||||
|
|
@ -8054,8 +8054,8 @@ x_198 = lean_ctor_get(x_191, 1);
|
|||
lean_dec(x_198);
|
||||
x_199 = lean_ctor_get(x_191, 0);
|
||||
lean_dec(x_199);
|
||||
lean_inc(x_193);
|
||||
x_200 = lean_string_utf8_next_fast(x_193, x_194);
|
||||
lean_dec(x_194);
|
||||
lean_ctor_set(x_191, 1, x_200);
|
||||
x_201 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_191);
|
||||
if (lean_obj_tag(x_201) == 0)
|
||||
|
|
@ -8133,8 +8133,8 @@ x_219 = lean_ctor_get(x_202, 1);
|
|||
lean_dec(x_219);
|
||||
x_220 = lean_ctor_get(x_202, 0);
|
||||
lean_dec(x_220);
|
||||
lean_inc(x_214);
|
||||
x_221 = lean_string_utf8_next_fast(x_214, x_215);
|
||||
lean_dec(x_215);
|
||||
lean_ctor_set(x_202, 1, x_221);
|
||||
x_222 = l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_messageMetaDataParser_parseStr(x_202);
|
||||
if (lean_obj_tag(x_222) == 0)
|
||||
|
|
@ -8196,8 +8196,8 @@ else
|
|||
{
|
||||
lean_object* x_234; lean_object* x_235; lean_object* x_236;
|
||||
lean_dec(x_202);
|
||||
lean_inc(x_214);
|
||||
x_234 = lean_string_utf8_next_fast(x_214, x_215);
|
||||
lean_dec(x_215);
|
||||
x_235 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_235, 0, x_214);
|
||||
lean_ctor_set(x_235, 1, x_234);
|
||||
|
|
@ -8307,8 +8307,8 @@ else
|
|||
{
|
||||
lean_object* x_250; lean_object* x_251; lean_object* x_252;
|
||||
lean_dec(x_191);
|
||||
lean_inc(x_193);
|
||||
x_250 = lean_string_utf8_next_fast(x_193, x_194);
|
||||
lean_dec(x_194);
|
||||
x_251 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_251, 0, x_193);
|
||||
lean_ctor_set(x_251, 1, x_250);
|
||||
|
|
@ -8388,8 +8388,8 @@ if (lean_is_exclusive(x_253)) {
|
|||
lean_dec_ref(x_253);
|
||||
x_269 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_265);
|
||||
x_270 = lean_string_utf8_next_fast(x_265, x_266);
|
||||
lean_dec(x_266);
|
||||
if (lean_is_scalar(x_269)) {
|
||||
x_271 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -8535,8 +8535,8 @@ if (lean_is_exclusive(x_287)) {
|
|||
lean_dec_ref(x_287);
|
||||
x_292 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_288);
|
||||
x_293 = lean_string_utf8_next_fast(x_288, x_289);
|
||||
lean_dec(x_289);
|
||||
if (lean_is_scalar(x_292)) {
|
||||
x_294 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -8620,8 +8620,8 @@ if (lean_is_exclusive(x_296)) {
|
|||
lean_dec_ref(x_296);
|
||||
x_314 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_310);
|
||||
x_315 = lean_string_utf8_next_fast(x_310, x_311);
|
||||
lean_dec(x_311);
|
||||
if (lean_is_scalar(x_314)) {
|
||||
x_316 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -8771,8 +8771,8 @@ else
|
|||
{
|
||||
lean_object* x_337; lean_object* x_338; lean_object* x_339;
|
||||
lean_dec(x_179);
|
||||
lean_inc(x_181);
|
||||
x_337 = lean_string_utf8_next_fast(x_181, x_182);
|
||||
lean_dec(x_182);
|
||||
x_338 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_338, 0, x_181);
|
||||
lean_ctor_set(x_338, 1, x_337);
|
||||
|
|
@ -8808,8 +8808,8 @@ if (lean_is_exclusive(x_340)) {
|
|||
lean_dec_ref(x_340);
|
||||
x_346 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_342);
|
||||
x_347 = lean_string_utf8_next_fast(x_342, x_343);
|
||||
lean_dec(x_343);
|
||||
if (lean_is_scalar(x_346)) {
|
||||
x_348 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -8903,8 +8903,8 @@ if (lean_is_exclusive(x_350)) {
|
|||
lean_dec_ref(x_350);
|
||||
x_368 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_364);
|
||||
x_369 = lean_string_utf8_next_fast(x_364, x_365);
|
||||
lean_dec(x_365);
|
||||
if (lean_is_scalar(x_368)) {
|
||||
x_370 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9092,8 +9092,8 @@ if (lean_is_exclusive(x_392)) {
|
|||
lean_dec_ref(x_392);
|
||||
x_397 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_393);
|
||||
x_398 = lean_string_utf8_next_fast(x_393, x_394);
|
||||
lean_dec(x_394);
|
||||
if (lean_is_scalar(x_397)) {
|
||||
x_399 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9133,8 +9133,8 @@ if (lean_is_exclusive(x_401)) {
|
|||
lean_dec_ref(x_401);
|
||||
x_407 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_403);
|
||||
x_408 = lean_string_utf8_next_fast(x_403, x_404);
|
||||
lean_dec(x_404);
|
||||
if (lean_is_scalar(x_407)) {
|
||||
x_409 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9228,8 +9228,8 @@ if (lean_is_exclusive(x_411)) {
|
|||
lean_dec_ref(x_411);
|
||||
x_429 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_425);
|
||||
x_430 = lean_string_utf8_next_fast(x_425, x_426);
|
||||
lean_dec(x_426);
|
||||
if (lean_is_scalar(x_429)) {
|
||||
x_431 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9422,8 +9422,8 @@ else
|
|||
{
|
||||
lean_object* x_458; lean_object* x_459; lean_object* x_460;
|
||||
lean_dec(x_163);
|
||||
lean_inc(x_169);
|
||||
x_458 = lean_string_utf8_next_fast(x_169, x_170);
|
||||
lean_dec(x_170);
|
||||
x_459 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_459, 0, x_169);
|
||||
lean_ctor_set(x_459, 1, x_458);
|
||||
|
|
@ -9460,8 +9460,8 @@ if (lean_is_exclusive(x_461)) {
|
|||
lean_dec_ref(x_461);
|
||||
x_467 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_463);
|
||||
x_468 = lean_string_utf8_next_fast(x_463, x_464);
|
||||
lean_dec(x_464);
|
||||
if (lean_is_scalar(x_467)) {
|
||||
x_469 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9501,8 +9501,8 @@ if (lean_is_exclusive(x_471)) {
|
|||
lean_dec_ref(x_471);
|
||||
x_477 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_473);
|
||||
x_478 = lean_string_utf8_next_fast(x_473, x_474);
|
||||
lean_dec(x_474);
|
||||
if (lean_is_scalar(x_477)) {
|
||||
x_479 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9596,8 +9596,8 @@ if (lean_is_exclusive(x_481)) {
|
|||
lean_dec_ref(x_481);
|
||||
x_499 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_495);
|
||||
x_500 = lean_string_utf8_next_fast(x_495, x_496);
|
||||
lean_dec(x_496);
|
||||
if (lean_is_scalar(x_499)) {
|
||||
x_501 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -9885,8 +9885,8 @@ else
|
|||
{
|
||||
lean_object* x_532; lean_object* x_533; lean_object* x_534; uint8_t x_535; lean_object* x_536; lean_object* x_537; lean_object* x_544; lean_object* x_550; uint8_t x_551;
|
||||
lean_dec(x_29);
|
||||
lean_inc(x_32);
|
||||
x_532 = lean_string_utf8_next_fast(x_32, x_33);
|
||||
lean_dec(x_33);
|
||||
x_533 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_533, 0, x_32);
|
||||
lean_ctor_set(x_533, 1, x_532);
|
||||
|
|
@ -10259,8 +10259,8 @@ if (lean_is_exclusive(x_601)) {
|
|||
lean_dec_ref(x_601);
|
||||
x_608 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_603);
|
||||
x_609 = lean_string_utf8_next_fast(x_603, x_604);
|
||||
lean_dec(x_604);
|
||||
if (lean_is_scalar(x_608)) {
|
||||
x_610 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -10426,8 +10426,8 @@ if (lean_is_exclusive(x_632)) {
|
|||
lean_dec_ref(x_632);
|
||||
x_642 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_638);
|
||||
x_643 = lean_string_utf8_next_fast(x_638, x_639);
|
||||
lean_dec(x_639);
|
||||
if (lean_is_scalar(x_642)) {
|
||||
x_644 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -10468,8 +10468,8 @@ if (lean_is_exclusive(x_646)) {
|
|||
lean_dec_ref(x_646);
|
||||
x_652 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_648);
|
||||
x_653 = lean_string_utf8_next_fast(x_648, x_649);
|
||||
lean_dec(x_649);
|
||||
if (lean_is_scalar(x_652)) {
|
||||
x_654 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -10509,8 +10509,8 @@ if (lean_is_exclusive(x_656)) {
|
|||
lean_dec_ref(x_656);
|
||||
x_662 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_658);
|
||||
x_663 = lean_string_utf8_next_fast(x_658, x_659);
|
||||
lean_dec(x_659);
|
||||
if (lean_is_scalar(x_662)) {
|
||||
x_664 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -10604,8 +10604,8 @@ if (lean_is_exclusive(x_666)) {
|
|||
lean_dec_ref(x_666);
|
||||
x_684 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_680);
|
||||
x_685 = lean_string_utf8_next_fast(x_680, x_681);
|
||||
lean_dec(x_681);
|
||||
if (lean_is_scalar(x_684)) {
|
||||
x_686 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -10936,8 +10936,8 @@ else
|
|||
{
|
||||
lean_object* x_723; lean_object* x_724; lean_object* x_725;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_20);
|
||||
x_723 = lean_string_utf8_next_fast(x_20, x_21);
|
||||
lean_dec(x_21);
|
||||
x_724 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_724, 0, x_20);
|
||||
lean_ctor_set(x_724, 1, x_723);
|
||||
|
|
@ -10975,8 +10975,8 @@ if (lean_is_exclusive(x_726)) {
|
|||
lean_dec_ref(x_726);
|
||||
x_733 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_729);
|
||||
x_734 = lean_string_utf8_next_fast(x_729, x_730);
|
||||
lean_dec(x_730);
|
||||
if (lean_is_scalar(x_733)) {
|
||||
x_735 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -11353,8 +11353,8 @@ if (lean_is_exclusive(x_803)) {
|
|||
lean_dec_ref(x_803);
|
||||
x_810 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_805);
|
||||
x_811 = lean_string_utf8_next_fast(x_805, x_806);
|
||||
lean_dec(x_806);
|
||||
if (lean_is_scalar(x_810)) {
|
||||
x_812 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -11520,8 +11520,8 @@ if (lean_is_exclusive(x_834)) {
|
|||
lean_dec_ref(x_834);
|
||||
x_844 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_840);
|
||||
x_845 = lean_string_utf8_next_fast(x_840, x_841);
|
||||
lean_dec(x_841);
|
||||
if (lean_is_scalar(x_844)) {
|
||||
x_846 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -11562,8 +11562,8 @@ if (lean_is_exclusive(x_848)) {
|
|||
lean_dec_ref(x_848);
|
||||
x_854 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_850);
|
||||
x_855 = lean_string_utf8_next_fast(x_850, x_851);
|
||||
lean_dec(x_851);
|
||||
if (lean_is_scalar(x_854)) {
|
||||
x_856 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -11603,8 +11603,8 @@ if (lean_is_exclusive(x_858)) {
|
|||
lean_dec_ref(x_858);
|
||||
x_864 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_860);
|
||||
x_865 = lean_string_utf8_next_fast(x_860, x_861);
|
||||
lean_dec(x_861);
|
||||
if (lean_is_scalar(x_864)) {
|
||||
x_866 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -11698,8 +11698,8 @@ if (lean_is_exclusive(x_868)) {
|
|||
lean_dec_ref(x_868);
|
||||
x_886 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_882);
|
||||
x_887 = lean_string_utf8_next_fast(x_882, x_883);
|
||||
lean_dec(x_883);
|
||||
if (lean_is_scalar(x_886)) {
|
||||
x_888 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -12041,8 +12041,8 @@ return x_926;
|
|||
block_19:
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
lean_inc(x_3);
|
||||
x_5 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_6 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_6, 0, x_3);
|
||||
lean_ctor_set(x_6, 1, x_5);
|
||||
|
|
|
|||
380
stage0/stdlib/Lean/Data/Xml/Parser.c
generated
380
stage0/stdlib/Lean/Data/Xml/Parser.c
generated
File diff suppressed because it is too large
Load diff
3
stage0/stdlib/Lean/DocString/Extension.c
generated
3
stage0/stdlib/Lean/DocString/Extension.c
generated
|
|
@ -6411,6 +6411,7 @@ x_4 = lean_ctor_get(x_1, 0);
|
|||
lean_inc_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_4);
|
||||
lean_dec_ref(x_4);
|
||||
x_6 = l_Lean_Doc_MarkdownM_push___redArg(x_5, x_3);
|
||||
lean_dec_ref(x_5);
|
||||
return x_6;
|
||||
|
|
@ -7114,6 +7115,7 @@ lean_inc_ref(x_243);
|
|||
lean_dec_ref(x_1);
|
||||
x_244 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___00Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at___00__private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__15;
|
||||
x_245 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_242);
|
||||
lean_dec_ref(x_242);
|
||||
x_246 = lean_string_append(x_244, x_245);
|
||||
lean_dec_ref(x_245);
|
||||
x_247 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___at___00Lean_Doc_instToMarkdownPartOfMarkdownInlineOfMarkdownBlock___private__1___at___00__private_Lean_DocString_Extension_0__Lean_findSimpleDocString_x3f_toMarkdown_spec__0_spec__0_spec__1_spec__1___closed__8;
|
||||
|
|
@ -7674,6 +7676,7 @@ lean_dec_ref(x_12);
|
|||
x_15 = lean_string_length(x_14);
|
||||
lean_dec_ref(x_14);
|
||||
x_16 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock(x_15, x_11);
|
||||
lean_dec_ref(x_11);
|
||||
x_17 = l_Lean_Doc_MarkdownM_push___redArg(x_16, x_13);
|
||||
lean_dec_ref(x_16);
|
||||
x_18 = lean_ctor_get(x_17, 1);
|
||||
|
|
|
|||
23
stage0/stdlib/Lean/DocString/Links.c
generated
23
stage0/stdlib/Lean/DocString/Links.c
generated
|
|
@ -2579,8 +2579,6 @@ if (x_16 == 0)
|
|||
{
|
||||
uint32_t x_17; lean_object* x_18; uint8_t x_38; uint8_t x_44;
|
||||
x_17 = lean_string_utf8_get_fast(x_1, x_12);
|
||||
lean_inc(x_12);
|
||||
lean_inc_ref(x_1);
|
||||
x_18 = lean_string_utf8_next_fast(x_1, x_12);
|
||||
x_44 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_urlChar(x_17);
|
||||
if (x_44 == 0)
|
||||
|
|
@ -2608,7 +2606,6 @@ block_37:
|
|||
{
|
||||
lean_object* x_19; lean_object* x_20;
|
||||
x_19 = lean_string_utf8_extract(x_1, x_2, x_12);
|
||||
lean_dec_ref(x_1);
|
||||
x_20 = l___private_Lean_DocString_Links_0__Lean_rw(x_19);
|
||||
if (lean_obj_tag(x_20) == 0)
|
||||
{
|
||||
|
|
@ -2718,7 +2715,6 @@ else
|
|||
lean_object* x_46; lean_object* x_47; lean_object* x_48;
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_14)) {
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -2766,8 +2762,6 @@ if (x_11 == 0)
|
|||
{
|
||||
uint32_t x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_12 = lean_string_utf8_get_fast(x_1, x_8);
|
||||
lean_inc(x_8);
|
||||
lean_inc_ref(x_1);
|
||||
x_13 = lean_string_utf8_next_fast(x_1, x_8);
|
||||
lean_inc(x_8);
|
||||
x_14 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_8);
|
||||
|
|
@ -2800,7 +2794,6 @@ lean_ctor_set(x_3, 0, x_13);
|
|||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_7);
|
||||
lean_ctor_set(x_21, 1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_20, x_8, x_12, x_21);
|
||||
lean_dec(x_20);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
|
|
@ -2896,8 +2889,6 @@ if (x_45 == 0)
|
|||
{
|
||||
uint32_t x_46; lean_object* x_47; uint8_t x_48;
|
||||
x_46 = lean_string_utf8_get_fast(x_1, x_42);
|
||||
lean_inc(x_42);
|
||||
lean_inc_ref(x_1);
|
||||
x_47 = lean_string_utf8_next_fast(x_1, x_42);
|
||||
lean_inc(x_42);
|
||||
x_48 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_42);
|
||||
|
|
@ -2935,7 +2926,6 @@ lean_ctor_set(x_3, 0, x_47);
|
|||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_41);
|
||||
lean_ctor_set(x_57, 1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_58 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_55, x_42, x_46, x_57);
|
||||
lean_dec(x_55);
|
||||
x_59 = lean_ctor_get(x_58, 1);
|
||||
|
|
@ -3022,8 +3012,6 @@ if (x_76 == 0)
|
|||
{
|
||||
uint32_t x_77; lean_object* x_78; uint8_t x_79;
|
||||
x_77 = lean_string_utf8_get_fast(x_1, x_72);
|
||||
lean_inc(x_72);
|
||||
lean_inc_ref(x_1);
|
||||
x_78 = lean_string_utf8_next_fast(x_1, x_72);
|
||||
lean_inc(x_72);
|
||||
x_79 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_72);
|
||||
|
|
@ -3073,7 +3061,6 @@ lean_ctor_set(x_89, 1, x_88);
|
|||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_71);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
lean_inc_ref(x_1);
|
||||
x_91 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_87, x_72, x_77, x_90);
|
||||
lean_dec(x_87);
|
||||
x_92 = lean_ctor_get(x_91, 1);
|
||||
|
|
@ -3163,8 +3150,6 @@ if (x_11 == 0)
|
|||
{
|
||||
uint32_t x_12; lean_object* x_13; uint8_t x_14;
|
||||
x_12 = lean_string_utf8_get_fast(x_1, x_8);
|
||||
lean_inc(x_8);
|
||||
lean_inc_ref(x_1);
|
||||
x_13 = lean_string_utf8_next_fast(x_1, x_8);
|
||||
lean_inc(x_8);
|
||||
x_14 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_8);
|
||||
|
|
@ -3198,7 +3183,6 @@ lean_ctor_set(x_3, 0, x_13);
|
|||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_7);
|
||||
lean_ctor_set(x_21, 1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_20, x_8, x_12, x_21);
|
||||
lean_dec(x_20);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
|
|
@ -3294,8 +3278,6 @@ if (x_45 == 0)
|
|||
{
|
||||
uint32_t x_46; lean_object* x_47; uint8_t x_48;
|
||||
x_46 = lean_string_utf8_get_fast(x_1, x_42);
|
||||
lean_inc(x_42);
|
||||
lean_inc_ref(x_1);
|
||||
x_47 = lean_string_utf8_next_fast(x_1, x_42);
|
||||
lean_inc(x_42);
|
||||
x_48 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_42);
|
||||
|
|
@ -3334,7 +3316,6 @@ lean_ctor_set(x_3, 0, x_47);
|
|||
x_57 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_57, 0, x_41);
|
||||
lean_ctor_set(x_57, 1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_58 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_55, x_42, x_46, x_57);
|
||||
lean_dec(x_55);
|
||||
x_59 = lean_ctor_get(x_58, 1);
|
||||
|
|
@ -3421,8 +3402,6 @@ if (x_76 == 0)
|
|||
{
|
||||
uint32_t x_77; lean_object* x_78; uint8_t x_79;
|
||||
x_77 = lean_string_utf8_get_fast(x_1, x_72);
|
||||
lean_inc(x_72);
|
||||
lean_inc_ref(x_1);
|
||||
x_78 = lean_string_utf8_next_fast(x_1, x_72);
|
||||
lean_inc(x_72);
|
||||
x_79 = l___private_Lean_DocString_Links_0__Lean_rewriteManualLinksCore_lookingAt(x_2, x_1, x_72);
|
||||
|
|
@ -3472,7 +3451,6 @@ lean_ctor_set(x_89, 1, x_88);
|
|||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_71);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
lean_inc_ref(x_1);
|
||||
x_91 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_87, x_72, x_77, x_90);
|
||||
lean_dec(x_87);
|
||||
x_92 = lean_ctor_get(x_91, 1);
|
||||
|
|
@ -3623,6 +3601,7 @@ x_6 = lean_unbox_uint32(x_4);
|
|||
lean_dec(x_4);
|
||||
x_7 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00Lean_rewriteManualLinksCore_spec__0(x_1, x_2, x_3, x_6, x_5);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
76
stage0/stdlib/Lean/DocString/Markdown.c
generated
76
stage0/stdlib/Lean/DocString/Markdown.c
generated
|
|
@ -58,6 +58,7 @@ lean_object* l_String_Slice_Pos_prevAux_go___redArg(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_push___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_run(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_trimLeft_go___redArg(lean_object*);
|
||||
lean_object* l_Id_instMonad___lam__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -93,6 +94,7 @@ static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_co
|
|||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardPattern_defaultDropPrefix_x3f___at___00__private_Init_Data_String_Slice_0__String_Slice_takeWhile_go___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_trimLeft_go_spec__1_spec__1___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_endsWith___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Id_instMonad___lam__2___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_String_Slice_Pos_prevn(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___redArg___lam__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -117,16 +119,19 @@ static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdo
|
|||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_StateT_bind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_escape___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_State_render(lean_object*);
|
||||
lean_object* l_List_appendTR___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_MarkdownM_combineBlocks___closed__0;
|
||||
static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__31;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0___boxed(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Doc_Inline_empty(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_escape_isSpecial___boxed(lean_object*);
|
||||
lean_object* l_String_Slice_Pos_next___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_endsWith___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_partMarkdown___redArg___lam__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_escape_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_run___redArg(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_trimLeft_go___redArg___closed__2;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_trim___redArg(lean_object*);
|
||||
|
|
@ -225,6 +230,7 @@ lean_object* lean_nat_add(lean_object*, lean_object*);
|
|||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_Context_ctorIdx(lean_object*);
|
||||
lean_object* l_StateT_map(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_MarkdownM_run_x27(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_instToMarkdownBlockOfMarkdownInlineOfMarkdownBlock___redArg___lam__0(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_String_Slice_Pattern_ForwardPattern_defaultDropPrefix_x3f___at___00__private_Init_Data_String_Slice_0__String_Slice_takeWhile_go___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_trimLeft_go_spec__1_spec__1(lean_object*);
|
||||
static lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode___closed__2;
|
||||
|
|
@ -1144,8 +1150,8 @@ if (x_7 == 0)
|
|||
{
|
||||
uint32_t x_8; lean_object* x_9; lean_object* x_10; uint8_t x_15;
|
||||
x_8 = lean_string_utf8_get_fast(x_1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_9 = lean_string_utf8_next_fast(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_15 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape_isSpecial(x_8);
|
||||
if (x_15 == 0)
|
||||
{
|
||||
|
|
@ -1178,7 +1184,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_18;
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_5)) {
|
||||
x_18 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -1214,6 +1219,24 @@ lean_dec_ref(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_escape_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_escape_spec__0(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_escape___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1249,8 +1272,8 @@ if (x_11 == 0)
|
|||
{
|
||||
uint32_t x_12; lean_object* x_13; lean_object* x_14; uint32_t x_19; uint8_t x_20;
|
||||
x_12 = lean_string_utf8_get_fast(x_1, x_7);
|
||||
lean_inc_ref(x_1);
|
||||
x_13 = lean_string_utf8_next_fast(x_1, x_7);
|
||||
lean_dec(x_7);
|
||||
x_19 = 96;
|
||||
x_20 = lean_uint32_dec_eq(x_12, x_19);
|
||||
if (x_20 == 0)
|
||||
|
|
@ -1313,7 +1336,6 @@ else
|
|||
{
|
||||
lean_object* x_27; lean_object* x_28;
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_9)) {
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -1410,7 +1432,6 @@ _start:
|
|||
lean_object* x_2; lean_object* x_3; lean_object* x_7; lean_object* x_12; lean_object* x_13; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint32_t x_27; lean_object* x_28; uint8_t x_38;
|
||||
x_12 = lean_unsigned_to_nat(0u);
|
||||
x_21 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode___closed__4;
|
||||
lean_inc_ref(x_1);
|
||||
x_22 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0(x_1, x_12, x_21);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
lean_inc(x_23);
|
||||
|
|
@ -1525,6 +1546,15 @@ goto block_11;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__0(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Nat_Basic_0__Nat_repeatTR_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCode_spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -3515,6 +3545,7 @@ x_6 = lean_ctor_get(x_2, 0);
|
|||
lean_inc_ref(x_6);
|
||||
lean_dec_ref(x_2);
|
||||
x_7 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_6);
|
||||
lean_dec_ref(x_6);
|
||||
x_8 = l_Lean_Doc_MarkdownM_push___redArg(x_7, x_4);
|
||||
lean_dec_ref(x_7);
|
||||
return x_8;
|
||||
|
|
@ -4234,6 +4265,7 @@ lean_inc_ref(x_254);
|
|||
lean_dec_ref(x_2);
|
||||
x_255 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__36;
|
||||
x_256 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_253);
|
||||
lean_dec_ref(x_253);
|
||||
x_257 = lean_string_append(x_255, x_256);
|
||||
lean_dec_ref(x_256);
|
||||
x_258 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___redArg___closed__30;
|
||||
|
|
@ -4394,8 +4426,8 @@ if (x_15 == 0)
|
|||
{
|
||||
uint32_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_35; uint8_t x_36;
|
||||
x_16 = lean_string_utf8_get_fast(x_1, x_9);
|
||||
lean_inc_ref(x_1);
|
||||
x_17 = lean_string_utf8_next_fast(x_1, x_9);
|
||||
lean_dec(x_9);
|
||||
x_35 = 96;
|
||||
x_36 = lean_uint32_dec_eq(x_16, x_35);
|
||||
if (x_36 == 0)
|
||||
|
|
@ -4502,7 +4534,6 @@ else
|
|||
lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_13)) {
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4575,8 +4606,8 @@ if (x_15 == 0)
|
|||
{
|
||||
uint32_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint32_t x_35; uint8_t x_36;
|
||||
x_16 = lean_string_utf8_get_fast(x_1, x_9);
|
||||
lean_inc_ref(x_1);
|
||||
x_17 = lean_string_utf8_next_fast(x_1, x_9);
|
||||
lean_dec(x_9);
|
||||
x_35 = 96;
|
||||
x_36 = lean_uint32_dec_eq(x_16, x_35);
|
||||
if (x_36 == 0)
|
||||
|
|
@ -4683,7 +4714,6 @@ else
|
|||
lean_object* x_40; lean_object* x_41; lean_object* x_42;
|
||||
lean_dec(x_3);
|
||||
lean_dec(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_13)) {
|
||||
x_40 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4845,6 +4875,33 @@ goto block_30;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0_spec__0(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_5;
|
||||
x_5 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock_spec__0(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock(x_1, x_2);
|
||||
lean_dec_ref(x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Markdown_0__Lean_Doc_blockMarkdown___redArg___lam__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -5377,6 +5434,7 @@ lean_dec_ref(x_17);
|
|||
x_20 = lean_string_length(x_19);
|
||||
lean_dec_ref(x_19);
|
||||
x_21 = l___private_Lean_DocString_Markdown_0__Lean_Doc_quoteCodeBlock(x_20, x_16);
|
||||
lean_dec_ref(x_16);
|
||||
x_22 = l_Lean_Doc_MarkdownM_push___redArg(x_21, x_18);
|
||||
lean_dec_ref(x_21);
|
||||
x_23 = lean_ctor_get(x_22, 1);
|
||||
|
|
|
|||
49
stage0/stdlib/Lean/DocString/Parser.c
generated
49
stage0/stdlib/Lean/DocString/Parser.c
generated
|
|
@ -44,6 +44,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_li
|
|||
static lean_object* l_Lean_Doc_Parser_header___lam__8___closed__0;
|
||||
lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_header___lam__3___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_lookaheadOrderedListIndicator(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_Parser_header___lam__0___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_blockOpener___lam__3___boxed__const__1;
|
||||
|
|
@ -554,6 +555,7 @@ LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Parser_Parser
|
|||
static lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_withParens___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_instReprOrderedListType_repr(uint8_t, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_skipBlock___lam__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_linkRef_nameStart___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_Parser_link___lam__5(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_arg_flag___lam__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -2225,8 +2227,8 @@ if (x_7 == 0)
|
|||
{
|
||||
uint32_t x_8; lean_object* x_9; uint32_t x_13; uint8_t x_14;
|
||||
x_8 = lean_string_utf8_get_fast(x_1, x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_9 = lean_string_utf8_next_fast(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_13 = 92;
|
||||
x_14 = lean_uint32_dec_eq(x_8, x_13);
|
||||
if (x_14 == 0)
|
||||
|
|
@ -2258,8 +2260,8 @@ uint32_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22;
|
|||
lean_dec(x_5);
|
||||
x_19 = lean_string_utf8_get_fast(x_1, x_9);
|
||||
x_20 = lean_string_push(x_4, x_19);
|
||||
lean_inc_ref(x_1);
|
||||
x_21 = lean_string_utf8_next_fast(x_1, x_9);
|
||||
lean_dec(x_9);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_22, 0, x_21);
|
||||
lean_ctor_set(x_22, 1, x_20);
|
||||
|
|
@ -2290,7 +2292,6 @@ else
|
|||
{
|
||||
lean_object* x_24;
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_5)) {
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -2334,6 +2335,24 @@ lean_dec_ref(x_3);
|
|||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr_spec__0(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_asStringAux(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2861,8 +2880,8 @@ return x_3;
|
|||
else
|
||||
{
|
||||
lean_object* x_6;
|
||||
lean_inc_ref(x_2);
|
||||
x_6 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_3 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
|
|
@ -2926,8 +2945,8 @@ return x_70;
|
|||
block_10:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8;
|
||||
lean_inc_ref(x_3);
|
||||
x_7 = lean_string_utf8_next_fast(x_3, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_inc(x_1);
|
||||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_1);
|
||||
|
|
@ -2982,8 +3001,8 @@ return x_27;
|
|||
else
|
||||
{
|
||||
lean_object* x_28; lean_object* x_29;
|
||||
lean_inc_ref(x_3);
|
||||
x_28 = lean_string_utf8_next_fast(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
if (lean_is_scalar(x_12)) {
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -2999,8 +3018,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_31; lean_object* x_32;
|
||||
lean_inc_ref(x_3);
|
||||
x_31 = lean_string_utf8_next_fast(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
if (lean_is_scalar(x_12)) {
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3016,8 +3035,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_34; lean_object* x_35;
|
||||
lean_inc_ref(x_3);
|
||||
x_34 = lean_string_utf8_next_fast(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
if (lean_is_scalar(x_12)) {
|
||||
x_35 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3033,8 +3052,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_37; lean_object* x_38;
|
||||
lean_inc_ref(x_3);
|
||||
x_37 = lean_string_utf8_next_fast(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
if (lean_is_scalar(x_12)) {
|
||||
x_38 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3050,8 +3069,8 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_40; lean_object* x_41;
|
||||
lean_inc_ref(x_3);
|
||||
x_40 = lean_string_utf8_next_fast(x_3, x_11);
|
||||
lean_dec(x_11);
|
||||
lean_inc(x_1);
|
||||
if (lean_is_scalar(x_12)) {
|
||||
x_41 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3523,8 +3542,8 @@ x_7 = lean_string_utf8_get_fast(x_1, x_3);
|
|||
x_8 = lean_box_uint32(x_7);
|
||||
x_9 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn_go___lam__0___boxed), 2, 1);
|
||||
lean_closure_set(x_9, 0, x_8);
|
||||
lean_inc_ref(x_1);
|
||||
x_10 = lean_string_utf8_next_fast(x_1, x_3);
|
||||
lean_dec(x_3);
|
||||
x_11 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr___closed__0;
|
||||
x_12 = lean_string_push(x_11, x_7);
|
||||
x_13 = l_Lean_Parser_satisfyFn(x_9, x_12, x_2, x_4);
|
||||
|
|
@ -3535,7 +3554,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -3559,6 +3577,7 @@ _start:
|
|||
lean_object* x_5;
|
||||
x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn_go(x_1, x_2, x_3, x_4);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -3576,7 +3595,6 @@ _start:
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_4 = lean_unsigned_to_nat(0u);
|
||||
lean_inc_ref(x_3);
|
||||
lean_inc_ref(x_1);
|
||||
x_5 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn_go(x_1, x_2, x_4, x_3);
|
||||
x_6 = lean_ctor_get(x_5, 4);
|
||||
lean_inc(x_6);
|
||||
|
|
@ -3594,7 +3612,6 @@ x_11 = l_Lean_Parser_SyntaxStack_size(x_9);
|
|||
lean_dec_ref(x_9);
|
||||
x_12 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn___lam__0___closed__0;
|
||||
x_13 = lean_string_append(x_12, x_1);
|
||||
lean_dec_ref(x_1);
|
||||
x_14 = lean_string_append(x_13, x_12);
|
||||
x_15 = lean_alloc_ctor(1, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_11);
|
||||
|
|
@ -3605,7 +3622,6 @@ return x_16;
|
|||
else
|
||||
{
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_5;
|
||||
}
|
||||
}
|
||||
|
|
@ -3635,6 +3651,7 @@ _start:
|
|||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_strFn___lam__0(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
|
|
@ -5597,7 +5614,7 @@ static lean_object* _init_l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_i
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr), 1, 0);
|
||||
x_1 = lean_alloc_closure((void*)(l___private_Lean_DocString_Parser_0__Lean_Doc_Parser_unescapeStr___boxed), 1, 0);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Elab/BuiltinEvalCommand.c
generated
1
stage0/stdlib/Lean/Elab/BuiltinEvalCommand.c
generated
|
|
@ -26630,7 +26630,6 @@ lean_dec(x_14);
|
|||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec_ref(x_21);
|
||||
lean_inc_ref(x_22);
|
||||
x_23 = lean_string_validate_utf8(x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Elab/Command.c
generated
1
stage0/stdlib/Lean/Elab/Command.c
generated
|
|
@ -14139,7 +14139,6 @@ lean_dec(x_14);
|
|||
x_22 = lean_ctor_get(x_21, 0);
|
||||
lean_inc_ref(x_22);
|
||||
lean_dec_ref(x_21);
|
||||
lean_inc_ref(x_22);
|
||||
x_23 = lean_string_validate_utf8(x_22);
|
||||
if (x_23 == 0)
|
||||
{
|
||||
|
|
|
|||
2
stage0/stdlib/Lean/Elab/DocString.c
generated
2
stage0/stdlib/Lean/Elab/DocString.c
generated
|
|
@ -65490,6 +65490,7 @@ x_4 = lean_ctor_get(x_1, 0);
|
|||
lean_inc_ref(x_4);
|
||||
lean_dec_ref(x_1);
|
||||
x_5 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_4);
|
||||
lean_dec_ref(x_4);
|
||||
x_6 = l_Lean_Doc_MarkdownM_push___redArg(x_5, x_3);
|
||||
lean_dec_ref(x_5);
|
||||
return x_6;
|
||||
|
|
@ -66193,6 +66194,7 @@ lean_inc_ref(x_243);
|
|||
lean_dec_ref(x_1);
|
||||
x_244 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at___00__private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___closed__12;
|
||||
x_245 = l___private_Lean_DocString_Markdown_0__Lean_Doc_escape(x_242);
|
||||
lean_dec_ref(x_242);
|
||||
x_246 = lean_string_append(x_244, x_245);
|
||||
lean_dec_ref(x_245);
|
||||
x_247 = l___private_Lean_DocString_Markdown_0__Lean_Doc_inlineMarkdown___at___00__private_Lean_Elab_DocString_0__Lean_Doc_elabBlocks_x27_spec__1___closed__6;
|
||||
|
|
|
|||
42
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
42
stage0/stdlib/Lean/Elab/DocString/Builtin.c
generated
|
|
@ -593,6 +593,7 @@ LEAN_EXPORT lean_object* l_List_forIn_x27_loop___at___00__private_Lean_ResolveNa
|
|||
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_given_spec__7___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00Lean_Doc_given_spec__5_spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_suggestOption(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_set__option___regBuiltin_Lean_Doc_set__option__3();
|
||||
static lean_object* l_Lean_Doc_getNamed___at___00Lean_Doc_name_getArgs_spec__3___closed__0;
|
||||
uint8_t l_String_Slice_beq(lean_object*, lean_object*);
|
||||
|
|
@ -760,6 +761,7 @@ LEAN_EXPORT lean_object* l_Lean_Doc_DocHighlight_keyword_elim___redArg(lean_obje
|
|||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Doc_name_getArgs___closed__1;
|
||||
LEAN_EXPORT lean_object* l_List_filterMapTR_go___at___00Lean_resolveNamespace___at___00Lean_Doc_open_spec__0_spec__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00__private_Lean_ExtraModUses_0__Lean_recordExtraModUseCore___at___00Lean_recordExtraModUseFromDecl___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_elabExtraTerm_spec__0_spec__0_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Doc_output_getArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_onlyCode___at___00Lean_Doc_name_spec__0(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -18881,7 +18883,6 @@ lean_object* x_7; uint8_t x_12;
|
|||
x_12 = lean_usize_dec_lt(x_5, x_4);
|
||||
if (x_12 == 0)
|
||||
{
|
||||
lean_dec_ref(x_2);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
|
|
@ -18902,8 +18903,8 @@ if (lean_is_exclusive(x_6)) {
|
|||
x_16 = lean_array_uget(x_3, x_5);
|
||||
lean_inc(x_16);
|
||||
x_17 = l_Lean_Name_toString(x_16, x_1);
|
||||
lean_inc_ref(x_2);
|
||||
x_18 = l_Lean_EditDistance_levenshtein(x_2, x_17, x_14);
|
||||
lean_dec_ref(x_17);
|
||||
if (lean_obj_tag(x_18) == 1)
|
||||
{
|
||||
lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_28;
|
||||
|
|
@ -19124,6 +19125,7 @@ lean_ctor_set(x_8, 1, x_5);
|
|||
x_9 = lean_array_size(x_2);
|
||||
x_10 = 0;
|
||||
x_11 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_similarNames_spec__0(x_3, x_4, x_2, x_9, x_10, x_8);
|
||||
lean_dec_ref(x_4);
|
||||
x_12 = lean_ctor_get(x_11, 0);
|
||||
lean_inc(x_12);
|
||||
x_13 = lean_ctor_get(x_11, 1);
|
||||
|
|
@ -19149,6 +19151,7 @@ x_9 = lean_unbox_usize(x_5);
|
|||
lean_dec(x_5);
|
||||
x_10 = l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_similarNames_spec__0(x_7, x_2, x_3, x_8, x_9, x_6);
|
||||
lean_dec_ref(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_10;
|
||||
}
|
||||
}
|
||||
|
|
@ -27372,8 +27375,6 @@ if (x_13 == 0)
|
|||
lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_14 = lean_array_uget(x_4, x_5);
|
||||
x_15 = l_Lean_Name_toString(x_14, x_1);
|
||||
lean_inc_ref(x_2);
|
||||
lean_inc_ref(x_15);
|
||||
x_16 = l_Lean_EditDistance_levenshtein(x_15, x_2, x_3);
|
||||
if (lean_obj_tag(x_16) == 0)
|
||||
{
|
||||
|
|
@ -27397,7 +27398,6 @@ goto block_12;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_2);
|
||||
return x_7;
|
||||
}
|
||||
block_12:
|
||||
|
|
@ -27428,7 +27428,6 @@ x_7 = l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_
|
|||
x_8 = lean_nat_dec_lt(x_5, x_6);
|
||||
if (x_8 == 0)
|
||||
{
|
||||
lean_dec_ref(x_2);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
|
|
@ -27439,7 +27438,6 @@ x_10 = lean_nat_dec_le(x_6, x_9);
|
|||
lean_dec(x_9);
|
||||
if (x_10 == 0)
|
||||
{
|
||||
lean_dec_ref(x_2);
|
||||
return x_7;
|
||||
}
|
||||
else
|
||||
|
|
@ -27686,6 +27684,7 @@ x_80 = l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean
|
|||
lean_dec(x_79);
|
||||
lean_dec_ref(x_78);
|
||||
lean_dec(x_74);
|
||||
lean_dec_ref(x_73);
|
||||
x_81 = lean_array_get_size(x_80);
|
||||
x_82 = lean_nat_dec_eq(x_81, x_19);
|
||||
if (x_82 == 0)
|
||||
|
|
@ -27971,6 +27970,7 @@ x_158 = l_Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lea
|
|||
lean_dec(x_157);
|
||||
lean_dec_ref(x_156);
|
||||
lean_dec(x_152);
|
||||
lean_dec_ref(x_151);
|
||||
x_159 = lean_array_get_size(x_158);
|
||||
x_160 = lean_nat_dec_eq(x_159, x_97);
|
||||
if (x_160 == 0)
|
||||
|
|
@ -28264,6 +28264,7 @@ lean_dec(x_6);
|
|||
x_11 = l___private_Init_Data_Array_Basic_0__Array_foldlMUnsafe_fold___at___00Array_filterMapM___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_attr_validateAttr_spec__1_spec__1(x_8, x_2, x_3, x_4, x_9, x_10, x_7);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_11;
|
||||
}
|
||||
}
|
||||
|
|
@ -28277,6 +28278,7 @@ lean_dec(x_6);
|
|||
lean_dec(x_5);
|
||||
lean_dec_ref(x_4);
|
||||
lean_dec(x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
|
|
@ -42635,7 +42637,6 @@ lean_dec(x_12);
|
|||
x_20 = lean_ctor_get(x_19, 0);
|
||||
lean_inc_ref(x_20);
|
||||
lean_dec_ref(x_19);
|
||||
lean_inc_ref(x_20);
|
||||
x_21 = lean_string_validate_utf8(x_20);
|
||||
if (x_21 == 0)
|
||||
{
|
||||
|
|
@ -54505,7 +54506,6 @@ uint8_t x_5;
|
|||
x_5 = lean_usize_dec_lt(x_3, x_2);
|
||||
if (x_5 == 0)
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
else
|
||||
|
|
@ -54527,8 +54527,6 @@ if (lean_is_exclusive(x_6)) {
|
|||
x_10 = lean_unsigned_to_nat(0u);
|
||||
x_11 = lean_array_uset(x_4, x_3, x_10);
|
||||
x_20 = lean_string_length(x_1);
|
||||
lean_inc(x_8);
|
||||
lean_inc_ref(x_1);
|
||||
x_21 = l_Lean_EditDistance_levenshtein(x_1, x_8, x_20);
|
||||
if (lean_obj_tag(x_21) == 0)
|
||||
{
|
||||
|
|
@ -54751,6 +54749,7 @@ lean_dec(x_2);
|
|||
x_6 = lean_unbox_usize(x_3);
|
||||
lean_dec(x_3);
|
||||
x_7 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1___redArg(x_1, x_5, x_6, x_4);
|
||||
lean_dec_ref(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
|
|
@ -54763,6 +54762,7 @@ lean_dec(x_3);
|
|||
x_7 = lean_unbox_usize(x_4);
|
||||
lean_dec(x_4);
|
||||
x_8 = l___private_Init_Data_Array_Basic_0__Array_mapMUnsafe_map___at___00__private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance_spec__1(x_1, x_2, x_6, x_7, x_5);
|
||||
lean_dec_ref(x_2);
|
||||
return x_8;
|
||||
}
|
||||
}
|
||||
|
|
@ -54796,6 +54796,24 @@ lean_dec(x_2);
|
|||
return x_9;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Doc_output_spec__0_spec__0___lam__0(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -56014,7 +56032,6 @@ if (lean_obj_tag(x_81) == 0)
|
|||
{
|
||||
lean_object* x_83; lean_object* x_84; lean_object* x_108; lean_object* x_109; uint8_t x_110;
|
||||
lean_free_object(x_78);
|
||||
lean_inc_ref(x_72);
|
||||
x_83 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_72, x_70);
|
||||
x_108 = lean_unsigned_to_nat(1u);
|
||||
x_109 = lean_array_get_size(x_83);
|
||||
|
|
@ -56197,7 +56214,6 @@ if (lean_is_exclusive(x_114)) {
|
|||
if (lean_obj_tag(x_115) == 0)
|
||||
{
|
||||
lean_object* x_117; lean_object* x_118; lean_object* x_140; lean_object* x_141; uint8_t x_142;
|
||||
lean_inc_ref(x_72);
|
||||
x_117 = l___private_Lean_Elab_DocString_Builtin_0__Lean_Doc_output_sortByDistance___redArg(x_72, x_70);
|
||||
x_140 = lean_unsigned_to_nat(1u);
|
||||
x_141 = lean_array_get_size(x_117);
|
||||
|
|
|
|||
20772
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
20772
stage0/stdlib/Lean/Elab/Tactic/Do/VCGen.c
generated
File diff suppressed because it is too large
Load diff
2
stage0/stdlib/Lean/Environment.c
generated
2
stage0/stdlib/Lean/Environment.c
generated
|
|
@ -27185,7 +27185,7 @@ static lean_object* _init_l___private_Init_Data_Array_Basic_0__Array_forIn_x27Un
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("cannot import non`-module` ", 27, 27);
|
||||
x_1 = lean_mk_string_unchecked("cannot import non-`module` ", 27, 27);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
52
stage0/stdlib/Lean/ErrorExplanation.c
generated
52
stage0/stdlib/Lean/ErrorExplanation.c
generated
|
|
@ -2605,8 +2605,8 @@ uint32_t x_37; lean_object* x_38; lean_object* x_39;
|
|||
lean_dec_ref(x_29);
|
||||
lean_dec(x_12);
|
||||
x_37 = lean_string_utf8_get_fast(x_30, x_31);
|
||||
lean_inc(x_30);
|
||||
x_38 = lean_string_utf8_next_fast(x_30, x_31);
|
||||
lean_dec(x_31);
|
||||
x_39 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_30);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
|
|
@ -2711,8 +2711,6 @@ goto block_46;
|
|||
else
|
||||
{
|
||||
lean_object* x_72; lean_object* x_73; uint8_t x_74;
|
||||
lean_inc(x_59);
|
||||
lean_inc(x_58);
|
||||
x_72 = lean_string_utf8_next_fast(x_58, x_59);
|
||||
lean_inc(x_72);
|
||||
lean_inc(x_58);
|
||||
|
|
@ -2760,8 +2758,8 @@ lean_object* x_80; lean_object* x_81;
|
|||
lean_dec_ref(x_73);
|
||||
lean_dec(x_59);
|
||||
lean_dec(x_12);
|
||||
lean_inc(x_58);
|
||||
x_80 = lean_string_utf8_next_fast(x_58, x_72);
|
||||
lean_dec(x_72);
|
||||
x_81 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_81, 0, x_58);
|
||||
lean_ctor_set(x_81, 1, x_80);
|
||||
|
|
@ -3284,7 +3282,6 @@ if (x_3 == 0)
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_4);
|
||||
x_6 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_4, x_5);
|
||||
lean_ctor_set(x_2, 1, x_6);
|
||||
x_7 = lean_box(0);
|
||||
|
|
@ -3301,7 +3298,6 @@ x_10 = lean_ctor_get(x_2, 1);
|
|||
lean_inc(x_10);
|
||||
lean_inc(x_9);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_9);
|
||||
x_11 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_9, x_10);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_9);
|
||||
|
|
@ -3429,10 +3425,7 @@ return x_19;
|
|||
else
|
||||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
x_20 = lean_string_utf8_next_fast(x_11, x_12);
|
||||
lean_inc(x_11);
|
||||
x_21 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_11, x_20);
|
||||
lean_inc(x_11);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -3453,7 +3446,6 @@ if (x_26 == 0)
|
|||
lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31;
|
||||
x_27 = lean_ctor_get(x_24, 0);
|
||||
x_28 = lean_ctor_get(x_24, 1);
|
||||
lean_inc(x_27);
|
||||
x_29 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_27, x_28);
|
||||
lean_ctor_set(x_24, 1, x_29);
|
||||
x_30 = l___private_Lean_ErrorExplanation_0__Lean_ErrorExplanation_CodeInfo_parse_namedAttr___closed__4;
|
||||
|
|
@ -3516,8 +3508,8 @@ else
|
|||
{
|
||||
lean_object* x_47; lean_object* x_48;
|
||||
lean_free_object(x_34);
|
||||
lean_inc(x_39);
|
||||
x_47 = lean_string_utf8_next_fast(x_39, x_40);
|
||||
lean_dec(x_40);
|
||||
lean_ctor_set(x_36, 1, x_47);
|
||||
x_48 = l___private_Lean_ErrorExplanation_0__Lean_ErrorExplanation_CodeInfo_parse_stringContents(x_36);
|
||||
if (lean_obj_tag(x_48) == 0)
|
||||
|
|
@ -3573,8 +3565,8 @@ else
|
|||
{
|
||||
lean_object* x_60; lean_object* x_61; uint8_t x_62;
|
||||
lean_free_object(x_48);
|
||||
lean_inc(x_53);
|
||||
x_60 = lean_string_utf8_next_fast(x_53, x_54);
|
||||
lean_dec(x_54);
|
||||
lean_ctor_set(x_50, 1, x_60);
|
||||
x_61 = l___private_Lean_ErrorExplanation_0__Lean_ErrorExplanation_CodeInfo_parse_namedAttr___lam__0(x_33, x_50);
|
||||
x_62 = !lean_is_exclusive(x_61);
|
||||
|
|
@ -3636,8 +3628,8 @@ x_75 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_75);
|
||||
x_76 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_76);
|
||||
lean_inc(x_66);
|
||||
x_77 = lean_string_utf8_next_fast(x_66, x_67);
|
||||
lean_dec(x_67);
|
||||
lean_ctor_set(x_63, 1, x_77);
|
||||
lean_ctor_set(x_1, 1, x_52);
|
||||
lean_ctor_set(x_1, 0, x_25);
|
||||
|
|
@ -3648,8 +3640,8 @@ else
|
|||
{
|
||||
lean_object* x_78; lean_object* x_79;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_66);
|
||||
x_78 = lean_string_utf8_next_fast(x_66, x_67);
|
||||
lean_dec(x_67);
|
||||
lean_ctor_set(x_63, 1, x_78);
|
||||
x_79 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_79, 0, x_25);
|
||||
|
|
@ -3723,8 +3715,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_88 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_80);
|
||||
x_89 = lean_string_utf8_next_fast(x_80, x_81);
|
||||
lean_dec(x_81);
|
||||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_80);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
|
|
@ -3815,8 +3807,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_103 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_93);
|
||||
x_104 = lean_string_utf8_next_fast(x_93, x_94);
|
||||
lean_dec(x_94);
|
||||
if (lean_is_scalar(x_95)) {
|
||||
x_105 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -3907,8 +3899,8 @@ else
|
|||
{
|
||||
lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125;
|
||||
lean_free_object(x_48);
|
||||
lean_inc(x_109);
|
||||
x_116 = lean_string_utf8_next_fast(x_109, x_110);
|
||||
lean_dec(x_110);
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_117, 0, x_109);
|
||||
lean_ctor_set(x_117, 1, x_116);
|
||||
|
|
@ -3986,8 +3978,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_131 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_121);
|
||||
x_132 = lean_string_utf8_next_fast(x_121, x_122);
|
||||
lean_dec(x_122);
|
||||
if (lean_is_scalar(x_123)) {
|
||||
x_133 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4093,8 +4085,8 @@ return x_146;
|
|||
else
|
||||
{
|
||||
lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156;
|
||||
lean_inc(x_138);
|
||||
x_147 = lean_string_utf8_next_fast(x_138, x_139);
|
||||
lean_dec(x_139);
|
||||
if (lean_is_scalar(x_140)) {
|
||||
x_148 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4176,8 +4168,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_162 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_152);
|
||||
x_163 = lean_string_utf8_next_fast(x_152, x_153);
|
||||
lean_dec(x_153);
|
||||
if (lean_is_scalar(x_154)) {
|
||||
x_164 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4308,8 +4300,8 @@ else
|
|||
{
|
||||
lean_object* x_179; lean_object* x_180; lean_object* x_181;
|
||||
lean_free_object(x_34);
|
||||
lean_inc(x_171);
|
||||
x_179 = lean_string_utf8_next_fast(x_171, x_172);
|
||||
lean_dec(x_172);
|
||||
x_180 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_180, 0, x_171);
|
||||
lean_ctor_set(x_180, 1, x_179);
|
||||
|
|
@ -4384,8 +4376,8 @@ else
|
|||
{
|
||||
lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; uint8_t x_203;
|
||||
lean_dec(x_184);
|
||||
lean_inc(x_185);
|
||||
x_194 = lean_string_utf8_next_fast(x_185, x_186);
|
||||
lean_dec(x_186);
|
||||
if (lean_is_scalar(x_187)) {
|
||||
x_195 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4467,8 +4459,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_209 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_199);
|
||||
x_210 = lean_string_utf8_next_fast(x_199, x_200);
|
||||
lean_dec(x_200);
|
||||
if (lean_is_scalar(x_201)) {
|
||||
x_211 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4607,8 +4599,8 @@ return x_227;
|
|||
else
|
||||
{
|
||||
lean_object* x_228; lean_object* x_229; lean_object* x_230;
|
||||
lean_inc(x_218);
|
||||
x_228 = lean_string_utf8_next_fast(x_218, x_219);
|
||||
lean_dec(x_219);
|
||||
if (lean_is_scalar(x_220)) {
|
||||
x_229 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4687,8 +4679,8 @@ else
|
|||
{
|
||||
lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252;
|
||||
lean_dec(x_233);
|
||||
lean_inc(x_234);
|
||||
x_243 = lean_string_utf8_next_fast(x_234, x_235);
|
||||
lean_dec(x_235);
|
||||
if (lean_is_scalar(x_236)) {
|
||||
x_244 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4770,8 +4762,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_258 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_248);
|
||||
x_259 = lean_string_utf8_next_fast(x_248, x_249);
|
||||
lean_dec(x_249);
|
||||
if (lean_is_scalar(x_250)) {
|
||||
x_260 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -4891,7 +4883,6 @@ x_271 = lean_ctor_get(x_24, 1);
|
|||
lean_inc(x_271);
|
||||
lean_inc(x_270);
|
||||
lean_dec(x_24);
|
||||
lean_inc(x_270);
|
||||
x_272 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_270, x_271);
|
||||
x_273 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_273, 0, x_270);
|
||||
|
|
@ -4970,8 +4961,8 @@ else
|
|||
{
|
||||
lean_object* x_291; lean_object* x_292; lean_object* x_293;
|
||||
lean_dec(x_280);
|
||||
lean_inc(x_281);
|
||||
x_291 = lean_string_utf8_next_fast(x_281, x_282);
|
||||
lean_dec(x_282);
|
||||
if (lean_is_scalar(x_283)) {
|
||||
x_292 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -5050,8 +5041,8 @@ else
|
|||
{
|
||||
lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; uint8_t x_315;
|
||||
lean_dec(x_296);
|
||||
lean_inc(x_297);
|
||||
x_306 = lean_string_utf8_next_fast(x_297, x_298);
|
||||
lean_dec(x_298);
|
||||
if (lean_is_scalar(x_299)) {
|
||||
x_307 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -5133,8 +5124,8 @@ if (lean_is_exclusive(x_1)) {
|
|||
lean_dec_ref(x_1);
|
||||
x_321 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_311);
|
||||
x_322 = lean_string_utf8_next_fast(x_311, x_312);
|
||||
lean_dec(x_312);
|
||||
if (lean_is_scalar(x_313)) {
|
||||
x_323 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -5513,7 +5504,6 @@ x_3 = lean_ctor_get(x_2, 0);
|
|||
x_4 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_4);
|
||||
lean_inc(x_3);
|
||||
x_12 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_3, x_4);
|
||||
lean_inc(x_3);
|
||||
x_13 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Language/Lean.c
generated
1
stage0/stdlib/Lean/Language/Lean.c
generated
|
|
@ -3340,7 +3340,6 @@ lean_dec(x_12);
|
|||
x_19 = lean_ctor_get(x_18, 0);
|
||||
lean_inc_ref(x_19);
|
||||
lean_dec_ref(x_18);
|
||||
lean_inc_ref(x_19);
|
||||
x_20 = lean_string_validate_utf8(x_19);
|
||||
if (x_20 == 0)
|
||||
{
|
||||
|
|
|
|||
1
stage0/stdlib/Lean/Meta/Basic.c
generated
1
stage0/stdlib/Lean/Meta/Basic.c
generated
|
|
@ -63611,7 +63611,6 @@ lean_dec(x_16);
|
|||
x_24 = lean_ctor_get(x_23, 0);
|
||||
lean_inc_ref(x_24);
|
||||
lean_dec_ref(x_23);
|
||||
lean_inc_ref(x_24);
|
||||
x_25 = lean_string_validate_utf8(x_24);
|
||||
if (x_25 == 0)
|
||||
{
|
||||
|
|
|
|||
14352
stage0/stdlib/Lean/Meta/Match/MatchEqs.c
generated
14352
stage0/stdlib/Lean/Meta/Match/MatchEqs.c
generated
File diff suppressed because it is too large
Load diff
246
stage0/stdlib/Lean/Meta/Match/MatchEqsExt.c
generated
246
stage0/stdlib/Lean/Meta/Match/MatchEqsExt.c
generated
|
|
@ -1,6 +1,6 @@
|
|||
// Lean compiler output
|
||||
// Module: Lean.Meta.Match.MatchEqsExt
|
||||
// Imports: public import Lean.Meta.Basic import Lean.Meta.Eqns
|
||||
// Imports: public import Lean.Meta.Basic public import Lean.Meta.Match.Basic import Lean.Meta.Eqns
|
||||
#include <lean/lean.h>
|
||||
#if defined(__clang__)
|
||||
#pragma clang diagnostic ignored "-Wunused-parameter"
|
||||
|
|
@ -40,7 +40,6 @@ lean_object* l_Lean_registerEnvExtension___redArg(lean_object*, lean_object*, le
|
|||
static lean_object* l_Lean_Meta_Match_instInhabitedMatchEqnsExtState_default___closed__1;
|
||||
lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0_spec__0___lam__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5_spec__5(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatchEqnsExtState_ctorIdx(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__11;
|
||||
static lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__0;
|
||||
|
|
@ -55,13 +54,13 @@ static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__
|
|||
lean_object* lean_string_length(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__16;
|
||||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Nat_reprFast(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__15;
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__1;
|
||||
size_t lean_usize_of_nat(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn_00___x40_Lean_Meta_Match_MatchEqsExt_1276161115____hygCtx___hyg_2_();
|
||||
static lean_object* l_Lean_Meta_Match_registerMatchEqns___redArg___closed__2;
|
||||
lean_object* lean_st_ref_take(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2;
|
||||
lean_object* lean_nat_to_int(lean_object*);
|
||||
lean_object* l_Array_empty(lean_object*);
|
||||
lean_object* l_Lean_EnvExtension_modifyState___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -78,7 +77,6 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_registerMatchEqns___redArg___boxed(le
|
|||
LEAN_EXPORT uint8_t l_Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_empty___at___00Lean_Meta_Match_instInhabitedMatchEqnsExtState_default_spec__0(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5(lean_object*);
|
||||
uint8_t lean_name_eq(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_initFn___lam__0_00___x40_Lean_Meta_Match_MatchEqsExt_1276161115____hygCtx___hyg_2_(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_registerMatchEqns_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -94,7 +92,6 @@ static lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentH
|
|||
static lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__9;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_instInhabitedMatchEqns_default;
|
||||
lean_object* lean_usize_to_nat(size_t);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5___lam__0(lean_object*);
|
||||
static size_t l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_registerMatchEqns_spec__0_spec__0___redArg___closed__0;
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns___closed__0;
|
||||
static lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__4;
|
||||
|
|
@ -117,19 +114,18 @@ LEAN_EXPORT lean_object* l_Lean_Meta_Match_instInhabitedMatchEqns;
|
|||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_registerMatchEqns_spec__0___redArg(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l___private_Lean_Environment_0__Lean_EnvExtension_getStateUnsafe___redArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at___00Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_registerMatchEqns_spec__0_spec__0(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*);
|
||||
uint64_t l_Lean_Name_hash___override(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__2;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_MatchEqns_ctorIdx___boxed(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_registerMatchEqns___redArg___closed__1;
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_matchEqnsExt;
|
||||
extern lean_object* l_Lean_Meta_Match_instInhabitedMatcherInfo_default;
|
||||
static lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__10;
|
||||
lean_object* lean_get_match_equations_for(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0___redArg___boxed(lean_object*, lean_object*);
|
||||
lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0_spec__0___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5(lean_object*, lean_object*);
|
||||
lean_object* lean_erase_macro_scopes(lean_object*);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__10;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_containsAtAux___at___00Lean_PersistentHashMap_containsAux___at___00Lean_PersistentHashMap_contains___at___00Lean_Meta_Match_isMatchEqnTheorem_spec__0_spec__0_spec__0___redArg___boxed(lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -143,6 +139,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentHashMap_0__Lean_Persist
|
|||
static lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__6;
|
||||
lean_object* lean_st_ref_set(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Meta_Match_registerMatchEqns___redArg___lam__0(lean_object*, lean_object*, lean_object*);
|
||||
lean_object* l_Lean_Meta_Match_instReprMatcherInfo_repr___redArg(lean_object*);
|
||||
size_t lean_usize_shift_left(size_t, size_t);
|
||||
static lean_object* l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__5;
|
||||
LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at___00Lean_Meta_Match_registerMatchEqns_spec__0(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -200,21 +197,30 @@ return x_1;
|
|||
static lean_object* _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3;
|
||||
x_1 = lean_box(0);
|
||||
x_2 = l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__0;
|
||||
x_3 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
lean_ctor_set(x_3, 2, x_2);
|
||||
return x_3;
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_Match_instInhabitedMatcherInfo_default;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4;
|
||||
x_1 = l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1;
|
||||
x_2 = lean_box(0);
|
||||
x_3 = l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__0;
|
||||
x_4 = lean_alloc_ctor(0, 3, 0);
|
||||
lean_ctor_set(x_4, 0, x_3);
|
||||
lean_ctor_set(x_4, 1, x_2);
|
||||
lean_ctor_set(x_4, 2, x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default() {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1;
|
||||
x_1 = l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2;
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -527,202 +533,6 @@ return x_15;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_1);
|
||||
lean_ctor_set_tag(x_3, 5);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
x_7 = l_Nat_reprFast(x_5);
|
||||
x_8 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
x_9 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_8);
|
||||
x_2 = x_9;
|
||||
x_3 = x_6;
|
||||
goto _start;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16;
|
||||
x_11 = lean_ctor_get(x_3, 0);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_13 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_2);
|
||||
lean_ctor_set(x_13, 1, x_1);
|
||||
x_14 = l_Nat_reprFast(x_11);
|
||||
x_15 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
x_16 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_13);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_2 = x_16;
|
||||
x_3 = x_12;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_3) == 0)
|
||||
{
|
||||
lean_dec(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
{
|
||||
uint8_t x_4;
|
||||
x_4 = !lean_is_exclusive(x_3);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10;
|
||||
x_5 = lean_ctor_get(x_3, 0);
|
||||
x_6 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_1);
|
||||
lean_ctor_set_tag(x_3, 5);
|
||||
lean_ctor_set(x_3, 1, x_1);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
x_7 = l_Nat_reprFast(x_5);
|
||||
x_8 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_8, 0, x_7);
|
||||
x_9 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_8);
|
||||
x_10 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5_spec__5(x_1, x_9, x_6);
|
||||
return x_10;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
x_11 = lean_ctor_get(x_3, 0);
|
||||
x_12 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_12);
|
||||
lean_inc(x_11);
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_1);
|
||||
x_13 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_2);
|
||||
lean_ctor_set(x_13, 1, x_1);
|
||||
x_14 = l_Nat_reprFast(x_11);
|
||||
x_15 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_15, 0, x_14);
|
||||
x_16 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_13);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
x_17 = l_List_foldl___at___00List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5_spec__5(x_1, x_16, x_12);
|
||||
return x_17;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5___lam__0(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3;
|
||||
x_2 = l_Nat_reprFast(x_1);
|
||||
x_3 = lean_alloc_ctor(3, 1, 0);
|
||||
lean_ctor_set(x_3, 0, x_2);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
if (lean_obj_tag(x_1) == 0)
|
||||
{
|
||||
lean_object* x_3;
|
||||
lean_dec(x_2);
|
||||
x_3 = lean_box(0);
|
||||
return x_3;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
if (lean_obj_tag(x_4) == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6;
|
||||
lean_dec(x_2);
|
||||
x_5 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_5);
|
||||
lean_dec_ref(x_1);
|
||||
x_6 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5___lam__0(x_5);
|
||||
return x_6;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9;
|
||||
lean_inc(x_4);
|
||||
x_7 = lean_ctor_get(x_1, 0);
|
||||
lean_inc(x_7);
|
||||
lean_dec_ref(x_1);
|
||||
x_8 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5___lam__0(x_7);
|
||||
x_9 = l_List_foldl___at___00Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5_spec__5(x_2, x_8, x_4);
|
||||
return x_9;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2; lean_object* x_3; uint8_t x_4;
|
||||
x_2 = lean_array_get_size(x_1);
|
||||
x_3 = lean_unsigned_to_nat(0u);
|
||||
x_4 = lean_nat_dec_eq(x_2, x_3);
|
||||
lean_dec(x_2);
|
||||
if (x_4 == 0)
|
||||
{
|
||||
lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14;
|
||||
x_5 = lean_array_to_list(x_1);
|
||||
x_6 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__3;
|
||||
x_7 = l_Std_Format_joinSep___at___00Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5_spec__5(x_5, x_6);
|
||||
x_8 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__6;
|
||||
x_9 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__7;
|
||||
x_10 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_9);
|
||||
lean_ctor_set(x_10, 1, x_7);
|
||||
x_11 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__8;
|
||||
x_12 = lean_alloc_ctor(5, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_10);
|
||||
lean_ctor_set(x_12, 1, x_11);
|
||||
x_13 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_13, 0, x_8);
|
||||
lean_ctor_set(x_13, 1, x_12);
|
||||
x_14 = l_Std_Format_fill(x_13);
|
||||
return x_14;
|
||||
}
|
||||
else
|
||||
{
|
||||
lean_object* x_15;
|
||||
lean_dec_ref(x_1);
|
||||
x_15 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__0___closed__10;
|
||||
return x_15;
|
||||
}
|
||||
}
|
||||
}
|
||||
static lean_object* _init_l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__0() {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -831,7 +641,7 @@ static lean_object* _init_l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1;
|
||||
x_1 = lean_mk_string_unchecked("splitterAltNumParams", 20, 20);
|
||||
x_1 = lean_mk_string_unchecked("splitterMatchInfo", 17, 17);
|
||||
return x_1;
|
||||
}
|
||||
}
|
||||
|
|
@ -849,7 +659,7 @@ static lean_object* _init_l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___cl
|
|||
_start:
|
||||
{
|
||||
lean_object* x_1; lean_object* x_2;
|
||||
x_1 = lean_unsigned_to_nat(24u);
|
||||
x_1 = lean_unsigned_to_nat(21u);
|
||||
x_2 = lean_nat_to_int(x_1);
|
||||
return x_2;
|
||||
}
|
||||
|
|
@ -966,7 +776,7 @@ x_30 = lean_alloc_ctor(5, 2, 0);
|
|||
lean_ctor_set(x_30, 0, x_29);
|
||||
lean_ctor_set(x_30, 1, x_5);
|
||||
x_31 = l_Lean_Meta_Match_instReprMatchEqns_repr___redArg___closed__13;
|
||||
x_32 = l_Array_Array_repr___at___00Lean_Meta_Match_instReprMatchEqns_repr_spec__5(x_4);
|
||||
x_32 = l_Lean_Meta_Match_instReprMatcherInfo_repr___redArg(x_4);
|
||||
x_33 = lean_alloc_ctor(4, 2, 0);
|
||||
lean_ctor_set(x_33, 0, x_31);
|
||||
lean_ctor_set(x_33, 1, x_32);
|
||||
|
|
@ -2289,6 +2099,7 @@ return x_4;
|
|||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Meta_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Meta_Match_Basic(uint8_t builtin);
|
||||
lean_object* initialize_Lean_Meta_Eqns(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Meta_Match_MatchEqsExt(uint8_t builtin) {
|
||||
|
|
@ -2298,6 +2109,9 @@ _G_initialized = true;
|
|||
res = initialize_Lean_Meta_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Match_Basic(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
res = initialize_Lean_Meta_Eqns(builtin);
|
||||
if (lean_io_result_is_error(res)) return res;
|
||||
lean_dec_ref(res);
|
||||
|
|
@ -2305,6 +2119,8 @@ l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__0 = _init_l_Lean_Meta
|
|||
lean_mark_persistent(l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__0);
|
||||
l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1 = _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1();
|
||||
lean_mark_persistent(l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__1);
|
||||
l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2 = _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2();
|
||||
lean_mark_persistent(l_Lean_Meta_Match_instInhabitedMatchEqns_default___closed__2);
|
||||
l_Lean_Meta_Match_instInhabitedMatchEqns_default = _init_l_Lean_Meta_Match_instInhabitedMatchEqns_default();
|
||||
lean_mark_persistent(l_Lean_Meta_Match_instInhabitedMatchEqns_default);
|
||||
l_Lean_Meta_Match_instInhabitedMatchEqns = _init_l_Lean_Meta_Match_instInhabitedMatchEqns();
|
||||
|
|
|
|||
25370
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
25370
stage0/stdlib/Lean/Meta/Match/MatcherApp/Transform.c
generated
File diff suppressed because it is too large
Load diff
2921
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
2921
stage0/stdlib/Lean/Meta/Match/MatcherInfo.c
generated
File diff suppressed because it is too large
Load diff
2097
stage0/stdlib/Lean/Meta/SizeOf.c
generated
2097
stage0/stdlib/Lean/Meta/SizeOf.c
generated
File diff suppressed because it is too large
Load diff
42436
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
42436
stage0/stdlib/Lean/Meta/Tactic/FunInd.c
generated
File diff suppressed because it is too large
Load diff
504
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
504
stage0/stdlib/Lean/Meta/Tactic/Split.c
generated
File diff suppressed because it is too large
Load diff
46
stage0/stdlib/Lean/Server/FileWorker/ExampleHover.c
generated
46
stage0/stdlib/Lean/Server/FileWorker/ExampleHover.c
generated
|
|
@ -43,6 +43,7 @@ LEAN_EXPORT lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Uns
|
|||
LEAN_EXPORT lean_object* l_Std_Rxo_Iterator_instIteratorLoop_loop___at___00__private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_addCommentAt_spec__3(lean_object*, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l_Lean_Server_FileWorker_Hover_rewriteExamples___closed__0;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_ctorElim___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines_spec__0___boxed(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_normal_elim___redArg(lean_object*, lean_object*);
|
||||
static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00__private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_loop___at___00Lean_Server_FileWorker_Hover_rewriteExamples_spec__8_spec__8___closed__3;
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_ctorElim(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
|
|
@ -53,7 +54,9 @@ static lean_object* l___private_Init_Data_Array_Basic_0__Array_forIn_x27Unsafe_l
|
|||
lean_object* l_String_Slice_Pos_next___redArg(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_addCommentAt(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_normal_elim(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Init_Data_String_Slice_0__String_Slice_dropWhile_go___at___00Lean_Server_FileWorker_Hover_rewriteExamples_spec__0(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_Hover_rewriteExamples___boxed(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_Hover_rewriteExamples(lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_nonOutput_elim___redArg(lean_object*, lean_object*);
|
||||
lean_object* lean_string_length(lean_object*);
|
||||
|
|
@ -225,8 +228,8 @@ return x_5;
|
|||
else
|
||||
{
|
||||
lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17;
|
||||
lean_inc_ref(x_1);
|
||||
x_14 = lean_string_utf8_next_fast(x_1, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_3);
|
||||
lean_ctor_set(x_5, 1, x_14);
|
||||
lean_ctor_set(x_5, 0, x_3);
|
||||
|
|
@ -286,8 +289,8 @@ return x_25;
|
|||
else
|
||||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30;
|
||||
lean_inc_ref(x_1);
|
||||
x_26 = lean_string_utf8_next_fast(x_1, x_20);
|
||||
lean_dec(x_20);
|
||||
lean_inc(x_3);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_3);
|
||||
|
|
@ -533,8 +536,8 @@ if (x_10 == 0)
|
|||
{
|
||||
uint32_t x_11; lean_object* x_12; uint32_t x_13; uint8_t x_14;
|
||||
x_11 = lean_string_utf8_get_fast(x_1, x_6);
|
||||
lean_inc_ref(x_1);
|
||||
x_12 = lean_string_utf8_next_fast(x_1, x_6);
|
||||
lean_dec(x_6);
|
||||
x_13 = 10;
|
||||
x_14 = lean_uint32_dec_eq(x_11, x_13);
|
||||
if (x_14 == 0)
|
||||
|
|
@ -557,7 +560,6 @@ goto _start;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
|
|
@ -577,8 +579,8 @@ if (x_23 == 0)
|
|||
{
|
||||
uint32_t x_24; lean_object* x_25; uint32_t x_26; uint8_t x_27;
|
||||
x_24 = lean_string_utf8_get_fast(x_1, x_19);
|
||||
lean_inc_ref(x_1);
|
||||
x_25 = lean_string_utf8_next_fast(x_1, x_19);
|
||||
lean_dec(x_19);
|
||||
x_26 = 10;
|
||||
x_27 = lean_uint32_dec_eq(x_24, x_26);
|
||||
if (x_27 == 0)
|
||||
|
|
@ -609,7 +611,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_34;
|
||||
lean_dec_ref(x_1);
|
||||
x_34 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_34, 0, x_20);
|
||||
lean_ctor_set(x_34, 1, x_21);
|
||||
|
|
@ -645,8 +646,8 @@ if (x_41 == 0)
|
|||
{
|
||||
uint32_t x_42; lean_object* x_43; uint32_t x_44; uint8_t x_45;
|
||||
x_42 = lean_string_utf8_get_fast(x_1, x_36);
|
||||
lean_inc_ref(x_1);
|
||||
x_43 = lean_string_utf8_next_fast(x_1, x_36);
|
||||
lean_dec(x_36);
|
||||
x_44 = 10;
|
||||
x_45 = lean_uint32_dec_eq(x_42, x_44);
|
||||
if (x_45 == 0)
|
||||
|
|
@ -689,7 +690,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_54; lean_object* x_55;
|
||||
lean_dec_ref(x_1);
|
||||
if (lean_is_scalar(x_39)) {
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -743,7 +743,6 @@ _start:
|
|||
{
|
||||
lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8;
|
||||
x_2 = l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines___closed__2;
|
||||
lean_inc_ref(x_1);
|
||||
x_3 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines_spec__0(x_1, x_2);
|
||||
x_4 = lean_ctor_get(x_3, 1);
|
||||
lean_inc(x_4);
|
||||
|
|
@ -762,7 +761,6 @@ lean_object* x_9; lean_object* x_10;
|
|||
x_9 = lean_string_utf8_extract(x_1, x_6, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_dec(x_6);
|
||||
lean_dec_ref(x_1);
|
||||
x_10 = lean_array_push(x_7, x_9);
|
||||
return x_10;
|
||||
}
|
||||
|
|
@ -770,11 +768,28 @@ else
|
|||
{
|
||||
lean_dec(x_6);
|
||||
lean_dec(x_5);
|
||||
lean_dec_ref(x_1);
|
||||
return x_7;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines_spec__0___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Init_While_0__Lean_Loop_forIn_loop___at___00__private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines_spec__0(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_lines(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Lean_Server_FileWorker_ExampleHover_0__Lean_Server_FileWorker_Hover_RWState_ctorIdx(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -2166,6 +2181,15 @@ lean_dec_ref(x_2);
|
|||
return x_8;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_Hover_rewriteExamples___boxed(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_2;
|
||||
x_2 = l_Lean_Server_FileWorker_Hover_rewriteExamples(x_1);
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
}
|
||||
lean_object* initialize_Lean_Elab_Do(uint8_t builtin);
|
||||
static bool _G_initialized = false;
|
||||
LEAN_EXPORT lean_object* initialize_Lean_Server_FileWorker_ExampleHover(uint8_t builtin) {
|
||||
|
|
|
|||
|
|
@ -260,6 +260,7 @@ lean_object* l_Lean_Lsp_ModuleRefs_findAt(lean_object*, lean_object*, uint8_t);
|
|||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at___00__private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_initFn_00___x40_Lean_Server_FileWorker_RequestHandling_1490364749____hygCtx___hyg_2__spec__0___lam__1___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleDefinition___lam__3___boxed(lean_object*, lean_object*, lean_object*);
|
||||
static lean_object* l___private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_handleDocumentSymbol_toDocumentSymbols___lam__4___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lam__2___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at___00__private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_initFn_00___x40_Lean_Server_FileWorker_RequestHandling_1490364749____hygCtx___hyg_2__spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handlePlainTermGoal(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_RequestM_parseRequestParams___at___00Lean_Server_registerLspRequestHandler___at___00__private_Lean_Server_FileWorker_RequestHandling_0__Lean_Server_FileWorker_initFn_00___x40_Lean_Server_FileWorker_RequestHandling_1490364749____hygCtx___hyg_2__spec__36_spec__37(lean_object*, lean_object*);
|
||||
|
|
@ -3470,7 +3471,7 @@ lean_dec_ref(x_1);
|
|||
x_10 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lam__0___boxed), 4, 0);
|
||||
x_11 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lam__1___boxed), 1, 0);
|
||||
lean_inc_ref(x_8);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lam__2), 3, 1);
|
||||
x_12 = lean_alloc_closure((void*)(l_Lean_Server_FileWorker_handleHover___lam__2___boxed), 3, 1);
|
||||
lean_closure_set(x_12, 0, x_8);
|
||||
x_13 = l_Lean_FileMap_lspPosToUtf8Pos(x_8, x_9);
|
||||
lean_inc(x_13);
|
||||
|
|
@ -3587,6 +3588,15 @@ x_3 = lean_box(x_2);
|
|||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lam__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l_Lean_Server_FileWorker_handleHover___lam__2(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_2);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleHover___lam__3___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
|
|||
32
stage0/stdlib/Lean/Server/Test/Runner.c
generated
32
stage0/stdlib/Lean/Server/Test/Runner.c
generated
|
|
@ -20502,8 +20502,8 @@ x_90 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_90);
|
||||
x_91 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_91);
|
||||
lean_inc(x_8);
|
||||
x_92 = lean_string_utf8_next_fast(x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
lean_ctor_set(x_2, 1, x_92);
|
||||
x_3 = x_2;
|
||||
x_4 = x_84;
|
||||
|
|
@ -20513,8 +20513,8 @@ else
|
|||
{
|
||||
lean_object* x_93; lean_object* x_94;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_8);
|
||||
x_93 = lean_string_utf8_next_fast(x_8, x_9);
|
||||
lean_dec(x_9);
|
||||
x_94 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_94, 0, x_8);
|
||||
lean_ctor_set(x_94, 1, x_93);
|
||||
|
|
@ -20662,8 +20662,8 @@ x_42 = lean_ctor_get(x_30, 1);
|
|||
lean_dec(x_42);
|
||||
x_43 = lean_ctor_get(x_30, 0);
|
||||
lean_dec(x_43);
|
||||
lean_inc(x_32);
|
||||
x_44 = lean_string_utf8_next_fast(x_32, x_33);
|
||||
lean_dec(x_33);
|
||||
lean_ctor_set(x_30, 1, x_44);
|
||||
x_3 = x_30;
|
||||
x_4 = x_37;
|
||||
|
|
@ -20673,8 +20673,8 @@ else
|
|||
{
|
||||
lean_object* x_45; lean_object* x_46;
|
||||
lean_dec(x_30);
|
||||
lean_inc(x_32);
|
||||
x_45 = lean_string_utf8_next_fast(x_32, x_33);
|
||||
lean_dec(x_33);
|
||||
x_46 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_46, 0, x_32);
|
||||
lean_ctor_set(x_46, 1, x_45);
|
||||
|
|
@ -20784,8 +20784,8 @@ else
|
|||
{
|
||||
uint32_t x_71; lean_object* x_72; lean_object* x_73; uint32_t x_74; uint8_t x_75;
|
||||
x_71 = lean_string_utf8_get_fast(x_66, x_67);
|
||||
lean_inc(x_66);
|
||||
x_72 = lean_string_utf8_next_fast(x_66, x_67);
|
||||
lean_dec(x_67);
|
||||
x_73 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_73, 0, x_66);
|
||||
lean_ctor_set(x_73, 1, x_72);
|
||||
|
|
@ -20888,8 +20888,8 @@ x_100 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_100);
|
||||
x_101 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_101);
|
||||
lean_inc(x_72);
|
||||
x_102 = lean_string_utf8_next_fast(x_72, x_73);
|
||||
lean_dec(x_73);
|
||||
lean_ctor_set(x_1, 1, x_102);
|
||||
x_2 = x_1;
|
||||
x_3 = x_94;
|
||||
|
|
@ -20899,8 +20899,8 @@ else
|
|||
{
|
||||
lean_object* x_103; lean_object* x_104;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_72);
|
||||
x_103 = lean_string_utf8_next_fast(x_72, x_73);
|
||||
lean_dec(x_73);
|
||||
x_104 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_104, 0, x_72);
|
||||
lean_ctor_set(x_104, 1, x_103);
|
||||
|
|
@ -21021,8 +21021,8 @@ x_32 = lean_ctor_get(x_14, 1);
|
|||
lean_dec(x_32);
|
||||
x_33 = lean_ctor_get(x_14, 0);
|
||||
lean_dec(x_33);
|
||||
lean_inc(x_18);
|
||||
x_34 = lean_string_utf8_next_fast(x_18, x_19);
|
||||
lean_dec(x_19);
|
||||
lean_ctor_set(x_14, 1, x_34);
|
||||
x_2 = x_14;
|
||||
x_3 = x_27;
|
||||
|
|
@ -21032,8 +21032,8 @@ else
|
|||
{
|
||||
lean_object* x_35; lean_object* x_36;
|
||||
lean_dec(x_14);
|
||||
lean_inc(x_18);
|
||||
x_35 = lean_string_utf8_next_fast(x_18, x_19);
|
||||
lean_dec(x_19);
|
||||
x_36 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_36, 0, x_18);
|
||||
lean_ctor_set(x_36, 1, x_35);
|
||||
|
|
@ -21129,8 +21129,8 @@ if (lean_is_exclusive(x_14)) {
|
|||
lean_dec_ref(x_14);
|
||||
x_52 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_38);
|
||||
x_53 = lean_string_utf8_next_fast(x_38, x_39);
|
||||
lean_dec(x_39);
|
||||
if (lean_is_scalar(x_52)) {
|
||||
x_54 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -21246,8 +21246,8 @@ else
|
|||
{
|
||||
uint32_t x_82; lean_object* x_83; lean_object* x_84; uint32_t x_85; uint8_t x_86;
|
||||
x_82 = lean_string_utf8_get_fast(x_75, x_76);
|
||||
lean_inc(x_75);
|
||||
x_83 = lean_string_utf8_next_fast(x_75, x_76);
|
||||
lean_dec(x_76);
|
||||
x_84 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_84, 0, x_75);
|
||||
lean_ctor_set(x_84, 1, x_83);
|
||||
|
|
@ -21349,8 +21349,6 @@ x_25 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_25);
|
||||
x_26 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_26);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_27 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_ctor_set(x_3, 1, x_27);
|
||||
x_28 = l_Lean_Server_Test_Runner_word(x_3);
|
||||
|
|
@ -21388,8 +21386,6 @@ else
|
|||
{
|
||||
lean_object* x_36; lean_object* x_37; lean_object* x_38;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_5);
|
||||
lean_inc(x_4);
|
||||
x_36 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
x_37 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_37, 0, x_4);
|
||||
|
|
@ -21583,8 +21579,8 @@ x_15 = lean_ctor_get(x_4, 1);
|
|||
lean_dec(x_15);
|
||||
x_16 = lean_ctor_get(x_4, 0);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_6);
|
||||
x_17 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_ctor_set(x_4, 1, x_17);
|
||||
x_18 = l_Lean_Server_Test_Runner_word(x_4);
|
||||
if (lean_obj_tag(x_18) == 0)
|
||||
|
|
@ -21747,8 +21743,8 @@ else
|
|||
{
|
||||
lean_object* x_57; lean_object* x_58; lean_object* x_59;
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_6);
|
||||
x_57 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
x_58 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_58, 0, x_6);
|
||||
lean_ctor_set(x_58, 1, x_57);
|
||||
|
|
@ -21941,8 +21937,8 @@ if (lean_is_exclusive(x_89)) {
|
|||
lean_dec_ref(x_89);
|
||||
x_100 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_91);
|
||||
x_101 = lean_string_utf8_next_fast(x_91, x_92);
|
||||
lean_dec(x_92);
|
||||
if (lean_is_scalar(x_100)) {
|
||||
x_102 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
|
|||
59
stage0/stdlib/Std/Internal/Parsec/String.c
generated
59
stage0/stdlib/Std/Internal/Parsec/String.c
generated
|
|
@ -41,6 +41,7 @@ LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_
|
|||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_take(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_digits(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_pstring(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go___boxed(lean_object*, lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_asciiLetter(lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_instInputSigmaStringValidPosCharRaw___lam__3___boxed(lean_object*);
|
||||
LEAN_EXPORT uint32_t l_Std_Internal_Parsec_String_instInputSigmaStringValidPosCharRaw___lam__5(lean_object*, lean_object*);
|
||||
|
|
@ -77,6 +78,7 @@ lean_object* lean_string_append(lean_object*, lean_object*);
|
|||
uint8_t lean_nat_dec_le(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_instInputSigmaStringValidPosCharRaw___lam__1(lean_object*);
|
||||
lean_object* lean_nat_add(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs___boxed(lean_object*, lean_object*);
|
||||
static lean_object* l_Std_Internal_Parsec_String_Parser_run___redArg___closed__0;
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_instInputSigmaStringValidPosCharRaw___lam__4(lean_object*, lean_object*);
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_instInputSigmaStringValidPosCharRaw___lam__0(lean_object* x_1) {
|
||||
|
|
@ -187,8 +189,8 @@ if (x_3 == 0)
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6;
|
||||
x_4 = lean_ctor_get(x_1, 0);
|
||||
x_5 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_4);
|
||||
x_6 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_1, 1, x_6);
|
||||
return x_1;
|
||||
}
|
||||
|
|
@ -200,8 +202,8 @@ x_8 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_8);
|
||||
lean_inc(x_7);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_7);
|
||||
x_9 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
x_10 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_10, 0, x_7);
|
||||
lean_ctor_set(x_10, 1, x_9);
|
||||
|
|
@ -609,8 +611,8 @@ x_18 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_3);
|
||||
x_20 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_20);
|
||||
x_21 = lean_box_uint32(x_1);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -622,8 +624,8 @@ else
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_23 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_3);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -700,8 +702,8 @@ x_18 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_3);
|
||||
x_20 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_20);
|
||||
x_21 = lean_box(0);
|
||||
x_22 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -713,8 +715,8 @@ else
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_23 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_3);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -806,8 +808,8 @@ x_15 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_15);
|
||||
x_16 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_5);
|
||||
x_17 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_1, 1, x_17);
|
||||
x_18 = lean_box_uint32(x_9);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -819,8 +821,8 @@ else
|
|||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_5);
|
||||
x_20 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_5);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
|
|
@ -890,7 +892,6 @@ x_8 = lean_uint32_dec_le(x_7, x_6);
|
|||
if (x_8 == 0)
|
||||
{
|
||||
lean_object* x_9;
|
||||
lean_dec_ref(x_1);
|
||||
x_9 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_9, 0, x_3);
|
||||
lean_ctor_set(x_9, 1, x_2);
|
||||
|
|
@ -904,7 +905,6 @@ x_11 = lean_uint32_dec_le(x_6, x_10);
|
|||
if (x_11 == 0)
|
||||
{
|
||||
lean_object* x_12;
|
||||
lean_dec_ref(x_1);
|
||||
x_12 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_12, 0, x_3);
|
||||
lean_ctor_set(x_12, 1, x_2);
|
||||
|
|
@ -923,8 +923,8 @@ lean_dec(x_3);
|
|||
x_18 = lean_nat_add(x_17, x_15);
|
||||
lean_dec(x_15);
|
||||
lean_dec(x_17);
|
||||
lean_inc_ref(x_1);
|
||||
x_19 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_19;
|
||||
x_3 = x_18;
|
||||
goto _start;
|
||||
|
|
@ -934,7 +934,6 @@ goto _start;
|
|||
else
|
||||
{
|
||||
lean_object* x_21;
|
||||
lean_dec_ref(x_1);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_3);
|
||||
lean_ctor_set(x_21, 1, x_2);
|
||||
|
|
@ -942,6 +941,15 @@ return x_21;
|
|||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_4;
|
||||
x_4 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go(x_1, x_2, x_3);
|
||||
lean_dec_ref(x_1);
|
||||
return x_4;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -952,7 +960,6 @@ if (x_3 == 0)
|
|||
lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7;
|
||||
x_4 = lean_ctor_get(x_2, 0);
|
||||
x_5 = lean_ctor_get(x_2, 1);
|
||||
lean_inc(x_4);
|
||||
x_6 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go(x_4, x_5, x_1);
|
||||
x_7 = !lean_is_exclusive(x_6);
|
||||
if (x_7 == 0)
|
||||
|
|
@ -988,7 +995,6 @@ x_14 = lean_ctor_get(x_2, 1);
|
|||
lean_inc(x_14);
|
||||
lean_inc(x_13);
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_13);
|
||||
x_15 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go(x_13, x_14, x_1);
|
||||
x_16 = lean_ctor_get(x_15, 0);
|
||||
lean_inc(x_16);
|
||||
|
|
@ -1057,13 +1063,12 @@ x_15 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_15);
|
||||
x_16 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_5);
|
||||
x_17 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_18 = lean_uint32_to_nat(x_9);
|
||||
x_19 = lean_unsigned_to_nat(48u);
|
||||
x_20 = lean_nat_sub(x_18, x_19);
|
||||
lean_dec(x_18);
|
||||
lean_inc(x_5);
|
||||
x_21 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go(x_5, x_17, x_20);
|
||||
x_22 = !lean_is_exclusive(x_21);
|
||||
if (x_22 == 0)
|
||||
|
|
@ -1095,13 +1100,12 @@ else
|
|||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_5);
|
||||
x_28 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_29 = lean_uint32_to_nat(x_9);
|
||||
x_30 = lean_unsigned_to_nat(48u);
|
||||
x_31 = lean_nat_sub(x_29, x_30);
|
||||
lean_dec(x_29);
|
||||
lean_inc(x_5);
|
||||
x_32 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_digitsCore_go(x_5, x_28, x_31);
|
||||
x_33 = lean_ctor_get(x_32, 0);
|
||||
lean_inc(x_33);
|
||||
|
|
@ -1181,8 +1185,6 @@ if (x_8 == 0)
|
|||
{
|
||||
uint32_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint32_t x_24; uint8_t x_25;
|
||||
x_9 = lean_string_utf8_get_fast(x_5, x_6);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
x_10 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_inc(x_5);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -1317,8 +1319,6 @@ if (x_8 == 0)
|
|||
{
|
||||
uint32_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint32_t x_19; uint8_t x_20;
|
||||
x_9 = lean_string_utf8_get_fast(x_5, x_6);
|
||||
lean_inc(x_6);
|
||||
lean_inc(x_5);
|
||||
x_10 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_inc(x_5);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -1427,7 +1427,6 @@ x_15 = 32;
|
|||
x_16 = lean_uint32_dec_eq(x_8, x_15);
|
||||
if (x_16 == 0)
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
else
|
||||
|
|
@ -1452,19 +1451,27 @@ goto block_5;
|
|||
}
|
||||
else
|
||||
{
|
||||
lean_dec_ref(x_1);
|
||||
return x_2;
|
||||
}
|
||||
block_5:
|
||||
{
|
||||
lean_object* x_3;
|
||||
lean_inc_ref(x_1);
|
||||
x_3 = lean_string_utf8_next_fast(x_1, x_2);
|
||||
lean_dec(x_2);
|
||||
x_2 = x_3;
|
||||
goto _start;
|
||||
}
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs___boxed(lean_object* x_1, lean_object* x_2) {
|
||||
_start:
|
||||
{
|
||||
lean_object* x_3;
|
||||
x_3 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_1, x_2);
|
||||
lean_dec_ref(x_1);
|
||||
return x_3;
|
||||
}
|
||||
}
|
||||
LEAN_EXPORT lean_object* l_Std_Internal_Parsec_String_ws(lean_object* x_1) {
|
||||
_start:
|
||||
{
|
||||
|
|
@ -1475,7 +1482,6 @@ if (x_2 == 0)
|
|||
lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7;
|
||||
x_3 = lean_ctor_get(x_1, 0);
|
||||
x_4 = lean_ctor_get(x_1, 1);
|
||||
lean_inc(x_3);
|
||||
x_5 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_3, x_4);
|
||||
lean_ctor_set(x_1, 1, x_5);
|
||||
x_6 = lean_box(0);
|
||||
|
|
@ -1492,7 +1498,6 @@ x_9 = lean_ctor_get(x_1, 1);
|
|||
lean_inc(x_9);
|
||||
lean_inc(x_8);
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_8);
|
||||
x_10 = l___private_Std_Internal_Parsec_String_0__Std_Internal_Parsec_String_skipWs(x_8, x_9);
|
||||
x_11 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_11, 0, x_8);
|
||||
|
|
|
|||
170
stage0/stdlib/Std/Time/Format/Basic.c
generated
170
stage0/stdlib/Std/Time/Format/Basic.c
generated
|
|
@ -8918,8 +8918,8 @@ x_25 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_25);
|
||||
x_26 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_26);
|
||||
lean_inc(x_4);
|
||||
x_27 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 1, x_27);
|
||||
x_28 = lean_string_push(x_2, x_1);
|
||||
x_2 = x_28;
|
||||
|
|
@ -8929,8 +8929,8 @@ else
|
|||
{
|
||||
lean_object* x_30; lean_object* x_31; lean_object* x_32;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_4);
|
||||
x_30 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
x_31 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_31, 0, x_4);
|
||||
lean_ctor_set(x_31, 1, x_30);
|
||||
|
|
@ -10573,8 +10573,6 @@ x_1243 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_1243);
|
||||
x_1244 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_1244);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_1245 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
lean_ctor_set(x_1, 1, x_1245);
|
||||
x_1246 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__124;
|
||||
|
|
@ -10649,8 +10647,6 @@ else
|
|||
{
|
||||
lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_7);
|
||||
lean_inc(x_6);
|
||||
x_1255 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
x_1256 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1256, 0, x_6);
|
||||
|
|
@ -10799,8 +10795,8 @@ x_26 = lean_ctor_get(x_14, 1);
|
|||
lean_dec(x_26);
|
||||
x_27 = lean_ctor_get(x_14, 0);
|
||||
lean_dec(x_27);
|
||||
lean_inc(x_15);
|
||||
x_28 = lean_string_utf8_next_fast(x_15, x_16);
|
||||
lean_dec(x_16);
|
||||
lean_ctor_set(x_14, 1, x_28);
|
||||
x_29 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__0;
|
||||
x_30 = l_Std_Internal_Parsec_manyCharsCore___at___00__private_Std_Time_Format_Basic_0__Std_Time_parseModifier_spec__0(x_20, x_29, x_14);
|
||||
|
|
@ -10844,8 +10840,8 @@ else
|
|||
{
|
||||
lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41;
|
||||
lean_dec(x_14);
|
||||
lean_inc(x_15);
|
||||
x_38 = lean_string_utf8_next_fast(x_15, x_16);
|
||||
lean_dec(x_16);
|
||||
x_39 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_39, 0, x_15);
|
||||
lean_ctor_set(x_39, 1, x_38);
|
||||
|
|
@ -10981,8 +10977,6 @@ x_73 = lean_ctor_get(x_62, 1);
|
|||
lean_dec(x_73);
|
||||
x_74 = lean_ctor_get(x_62, 0);
|
||||
lean_dec(x_74);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
x_75 = lean_string_utf8_next_fast(x_63, x_64);
|
||||
lean_ctor_set(x_62, 1, x_75);
|
||||
x_76 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__4;
|
||||
|
|
@ -11033,8 +11027,6 @@ else
|
|||
{
|
||||
lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87;
|
||||
lean_dec(x_62);
|
||||
lean_inc(x_64);
|
||||
lean_inc(x_63);
|
||||
x_84 = lean_string_utf8_next_fast(x_63, x_64);
|
||||
x_85 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_85, 0, x_63);
|
||||
|
|
@ -11177,8 +11169,6 @@ x_118 = lean_ctor_get(x_107, 1);
|
|||
lean_dec(x_118);
|
||||
x_119 = lean_ctor_get(x_107, 0);
|
||||
lean_dec(x_119);
|
||||
lean_inc(x_109);
|
||||
lean_inc(x_108);
|
||||
x_120 = lean_string_utf8_next_fast(x_108, x_109);
|
||||
lean_ctor_set(x_107, 1, x_120);
|
||||
x_121 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__8;
|
||||
|
|
@ -11230,8 +11220,6 @@ else
|
|||
{
|
||||
lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132;
|
||||
lean_dec(x_107);
|
||||
lean_inc(x_109);
|
||||
lean_inc(x_108);
|
||||
x_129 = lean_string_utf8_next_fast(x_108, x_109);
|
||||
x_130 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_130, 0, x_108);
|
||||
|
|
@ -11376,8 +11364,6 @@ x_163 = lean_ctor_get(x_152, 1);
|
|||
lean_dec(x_163);
|
||||
x_164 = lean_ctor_get(x_152, 0);
|
||||
lean_dec(x_164);
|
||||
lean_inc(x_154);
|
||||
lean_inc(x_153);
|
||||
x_165 = lean_string_utf8_next_fast(x_153, x_154);
|
||||
lean_ctor_set(x_152, 1, x_165);
|
||||
x_166 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__12;
|
||||
|
|
@ -11430,8 +11416,6 @@ else
|
|||
{
|
||||
lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177;
|
||||
lean_dec(x_152);
|
||||
lean_inc(x_154);
|
||||
lean_inc(x_153);
|
||||
x_174 = lean_string_utf8_next_fast(x_153, x_154);
|
||||
x_175 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_175, 0, x_153);
|
||||
|
|
@ -11578,8 +11562,6 @@ x_208 = lean_ctor_get(x_197, 1);
|
|||
lean_dec(x_208);
|
||||
x_209 = lean_ctor_get(x_197, 0);
|
||||
lean_dec(x_209);
|
||||
lean_inc(x_199);
|
||||
lean_inc(x_198);
|
||||
x_210 = lean_string_utf8_next_fast(x_198, x_199);
|
||||
lean_ctor_set(x_197, 1, x_210);
|
||||
x_211 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__16;
|
||||
|
|
@ -11633,8 +11615,6 @@ else
|
|||
{
|
||||
lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222;
|
||||
lean_dec(x_197);
|
||||
lean_inc(x_199);
|
||||
lean_inc(x_198);
|
||||
x_219 = lean_string_utf8_next_fast(x_198, x_199);
|
||||
x_220 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_220, 0, x_198);
|
||||
|
|
@ -11776,8 +11756,6 @@ else
|
|||
{
|
||||
lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255;
|
||||
lean_dec_ref(x_240);
|
||||
lean_inc(x_242);
|
||||
lean_inc(x_241);
|
||||
x_252 = lean_string_utf8_next_fast(x_241, x_242);
|
||||
x_253 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_253, 0, x_241);
|
||||
|
|
@ -11925,8 +11903,6 @@ else
|
|||
{
|
||||
lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290;
|
||||
lean_dec_ref(x_275);
|
||||
lean_inc(x_277);
|
||||
lean_inc(x_276);
|
||||
x_287 = lean_string_utf8_next_fast(x_276, x_277);
|
||||
x_288 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_288, 0, x_276);
|
||||
|
|
@ -12064,8 +12040,6 @@ else
|
|||
{
|
||||
lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324;
|
||||
lean_dec_ref(x_309);
|
||||
lean_inc(x_311);
|
||||
lean_inc(x_310);
|
||||
x_321 = lean_string_utf8_next_fast(x_310, x_311);
|
||||
x_322 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_322, 0, x_310);
|
||||
|
|
@ -12210,8 +12184,6 @@ x_355 = lean_ctor_get(x_344, 1);
|
|||
lean_dec(x_355);
|
||||
x_356 = lean_ctor_get(x_344, 0);
|
||||
lean_dec(x_356);
|
||||
lean_inc(x_346);
|
||||
lean_inc(x_345);
|
||||
x_357 = lean_string_utf8_next_fast(x_345, x_346);
|
||||
lean_ctor_set(x_344, 1, x_357);
|
||||
x_358 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__32;
|
||||
|
|
@ -12255,8 +12227,6 @@ else
|
|||
{
|
||||
lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368;
|
||||
lean_dec(x_344);
|
||||
lean_inc(x_346);
|
||||
lean_inc(x_345);
|
||||
x_365 = lean_string_utf8_next_fast(x_345, x_346);
|
||||
x_366 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_366, 0, x_345);
|
||||
|
|
@ -12394,8 +12364,6 @@ else
|
|||
{
|
||||
lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401;
|
||||
lean_dec_ref(x_386);
|
||||
lean_inc(x_388);
|
||||
lean_inc(x_387);
|
||||
x_398 = lean_string_utf8_next_fast(x_387, x_388);
|
||||
x_399 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_399, 0, x_387);
|
||||
|
|
@ -12552,8 +12520,6 @@ else
|
|||
{
|
||||
lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436;
|
||||
lean_dec_ref(x_421);
|
||||
lean_inc(x_423);
|
||||
lean_inc(x_422);
|
||||
x_433 = lean_string_utf8_next_fast(x_422, x_423);
|
||||
x_434 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_434, 0, x_422);
|
||||
|
|
@ -12699,8 +12665,6 @@ else
|
|||
{
|
||||
lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470;
|
||||
lean_dec_ref(x_455);
|
||||
lean_inc(x_457);
|
||||
lean_inc(x_456);
|
||||
x_467 = lean_string_utf8_next_fast(x_456, x_457);
|
||||
x_468 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_468, 0, x_456);
|
||||
|
|
@ -12848,8 +12812,6 @@ else
|
|||
{
|
||||
lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504;
|
||||
lean_dec_ref(x_489);
|
||||
lean_inc(x_491);
|
||||
lean_inc(x_490);
|
||||
x_501 = lean_string_utf8_next_fast(x_490, x_491);
|
||||
x_502 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_502, 0, x_490);
|
||||
|
|
@ -12999,8 +12961,6 @@ else
|
|||
{
|
||||
lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538;
|
||||
lean_dec_ref(x_523);
|
||||
lean_inc(x_525);
|
||||
lean_inc(x_524);
|
||||
x_535 = lean_string_utf8_next_fast(x_524, x_525);
|
||||
x_536 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_536, 0, x_524);
|
||||
|
|
@ -13152,8 +13112,6 @@ else
|
|||
{
|
||||
lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572;
|
||||
lean_dec_ref(x_557);
|
||||
lean_inc(x_559);
|
||||
lean_inc(x_558);
|
||||
x_569 = lean_string_utf8_next_fast(x_558, x_559);
|
||||
x_570 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_570, 0, x_558);
|
||||
|
|
@ -13312,8 +13270,6 @@ x_603 = lean_ctor_get(x_592, 1);
|
|||
lean_dec(x_603);
|
||||
x_604 = lean_ctor_get(x_592, 0);
|
||||
lean_dec(x_604);
|
||||
lean_inc(x_594);
|
||||
lean_inc(x_593);
|
||||
x_605 = lean_string_utf8_next_fast(x_593, x_594);
|
||||
lean_ctor_set(x_592, 1, x_605);
|
||||
x_606 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__60;
|
||||
|
|
@ -13364,8 +13320,6 @@ else
|
|||
{
|
||||
lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616;
|
||||
lean_dec(x_592);
|
||||
lean_inc(x_594);
|
||||
lean_inc(x_593);
|
||||
x_613 = lean_string_utf8_next_fast(x_593, x_594);
|
||||
x_614 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_614, 0, x_593);
|
||||
|
|
@ -13517,8 +13471,6 @@ else
|
|||
{
|
||||
lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649;
|
||||
lean_dec_ref(x_634);
|
||||
lean_inc(x_636);
|
||||
lean_inc(x_635);
|
||||
x_646 = lean_string_utf8_next_fast(x_635, x_636);
|
||||
x_647 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_647, 0, x_635);
|
||||
|
|
@ -13694,8 +13646,6 @@ x_681 = lean_ctor_get(x_670, 1);
|
|||
lean_dec(x_681);
|
||||
x_682 = lean_ctor_get(x_670, 0);
|
||||
lean_dec(x_682);
|
||||
lean_inc(x_672);
|
||||
lean_inc(x_671);
|
||||
x_683 = lean_string_utf8_next_fast(x_671, x_672);
|
||||
lean_ctor_set(x_670, 1, x_683);
|
||||
x_684 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__68;
|
||||
|
|
@ -13748,8 +13698,6 @@ else
|
|||
{
|
||||
lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694;
|
||||
lean_dec(x_670);
|
||||
lean_inc(x_672);
|
||||
lean_inc(x_671);
|
||||
x_691 = lean_string_utf8_next_fast(x_671, x_672);
|
||||
x_692 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_692, 0, x_671);
|
||||
|
|
@ -13909,8 +13857,6 @@ x_723 = lean_ctor_get(x_712, 1);
|
|||
lean_dec(x_723);
|
||||
x_724 = lean_ctor_get(x_712, 0);
|
||||
lean_dec(x_724);
|
||||
lean_inc(x_714);
|
||||
lean_inc(x_713);
|
||||
x_725 = lean_string_utf8_next_fast(x_713, x_714);
|
||||
lean_ctor_set(x_712, 1, x_725);
|
||||
x_726 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__72;
|
||||
|
|
@ -13977,8 +13923,6 @@ else
|
|||
{
|
||||
lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737;
|
||||
lean_dec(x_712);
|
||||
lean_inc(x_714);
|
||||
lean_inc(x_713);
|
||||
x_734 = lean_string_utf8_next_fast(x_713, x_714);
|
||||
x_735 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_735, 0, x_713);
|
||||
|
|
@ -14150,8 +14094,6 @@ x_767 = lean_ctor_get(x_756, 1);
|
|||
lean_dec(x_767);
|
||||
x_768 = lean_ctor_get(x_756, 0);
|
||||
lean_dec(x_768);
|
||||
lean_inc(x_758);
|
||||
lean_inc(x_757);
|
||||
x_769 = lean_string_utf8_next_fast(x_757, x_758);
|
||||
lean_ctor_set(x_756, 1, x_769);
|
||||
x_770 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__76;
|
||||
|
|
@ -14219,8 +14161,6 @@ else
|
|||
{
|
||||
lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781;
|
||||
lean_dec(x_756);
|
||||
lean_inc(x_758);
|
||||
lean_inc(x_757);
|
||||
x_778 = lean_string_utf8_next_fast(x_757, x_758);
|
||||
x_779 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_779, 0, x_757);
|
||||
|
|
@ -14391,8 +14331,6 @@ else
|
|||
{
|
||||
lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815;
|
||||
lean_dec_ref(x_800);
|
||||
lean_inc(x_802);
|
||||
lean_inc(x_801);
|
||||
x_812 = lean_string_utf8_next_fast(x_801, x_802);
|
||||
x_813 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_813, 0, x_801);
|
||||
|
|
@ -14569,8 +14507,6 @@ else
|
|||
{
|
||||
lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850;
|
||||
lean_dec_ref(x_835);
|
||||
lean_inc(x_837);
|
||||
lean_inc(x_836);
|
||||
x_847 = lean_string_utf8_next_fast(x_836, x_837);
|
||||
x_848 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_848, 0, x_836);
|
||||
|
|
@ -14741,8 +14677,6 @@ x_881 = lean_ctor_get(x_870, 1);
|
|||
lean_dec(x_881);
|
||||
x_882 = lean_ctor_get(x_870, 0);
|
||||
lean_dec(x_882);
|
||||
lean_inc(x_872);
|
||||
lean_inc(x_871);
|
||||
x_883 = lean_string_utf8_next_fast(x_871, x_872);
|
||||
lean_ctor_set(x_870, 1, x_883);
|
||||
x_884 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__88;
|
||||
|
|
@ -14799,8 +14733,6 @@ else
|
|||
{
|
||||
lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894;
|
||||
lean_dec(x_870);
|
||||
lean_inc(x_872);
|
||||
lean_inc(x_871);
|
||||
x_891 = lean_string_utf8_next_fast(x_871, x_872);
|
||||
x_892 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_892, 0, x_871);
|
||||
|
|
@ -14968,8 +14900,6 @@ x_923 = lean_ctor_get(x_912, 1);
|
|||
lean_dec(x_923);
|
||||
x_924 = lean_ctor_get(x_912, 0);
|
||||
lean_dec(x_924);
|
||||
lean_inc(x_914);
|
||||
lean_inc(x_913);
|
||||
x_925 = lean_string_utf8_next_fast(x_913, x_914);
|
||||
lean_ctor_set(x_912, 1, x_925);
|
||||
x_926 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__92;
|
||||
|
|
@ -15040,8 +14970,6 @@ else
|
|||
{
|
||||
lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937;
|
||||
lean_dec(x_912);
|
||||
lean_inc(x_914);
|
||||
lean_inc(x_913);
|
||||
x_934 = lean_string_utf8_next_fast(x_913, x_914);
|
||||
x_935 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_935, 0, x_913);
|
||||
|
|
@ -15217,8 +15145,6 @@ else
|
|||
{
|
||||
lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970;
|
||||
lean_dec_ref(x_955);
|
||||
lean_inc(x_957);
|
||||
lean_inc(x_956);
|
||||
x_967 = lean_string_utf8_next_fast(x_956, x_957);
|
||||
x_968 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_968, 0, x_956);
|
||||
|
|
@ -15406,8 +15332,6 @@ x_1002 = lean_ctor_get(x_991, 1);
|
|||
lean_dec(x_1002);
|
||||
x_1003 = lean_ctor_get(x_991, 0);
|
||||
lean_dec(x_1003);
|
||||
lean_inc(x_993);
|
||||
lean_inc(x_992);
|
||||
x_1004 = lean_string_utf8_next_fast(x_992, x_993);
|
||||
lean_ctor_set(x_991, 1, x_1004);
|
||||
x_1005 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__100;
|
||||
|
|
@ -15466,8 +15390,6 @@ else
|
|||
{
|
||||
lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015;
|
||||
lean_dec(x_991);
|
||||
lean_inc(x_993);
|
||||
lean_inc(x_992);
|
||||
x_1012 = lean_string_utf8_next_fast(x_992, x_993);
|
||||
x_1013 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1013, 0, x_992);
|
||||
|
|
@ -15639,8 +15561,6 @@ x_1044 = lean_ctor_get(x_1033, 1);
|
|||
lean_dec(x_1044);
|
||||
x_1045 = lean_ctor_get(x_1033, 0);
|
||||
lean_dec(x_1045);
|
||||
lean_inc(x_1035);
|
||||
lean_inc(x_1034);
|
||||
x_1046 = lean_string_utf8_next_fast(x_1034, x_1035);
|
||||
lean_ctor_set(x_1033, 1, x_1046);
|
||||
x_1047 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__104;
|
||||
|
|
@ -15713,8 +15633,6 @@ else
|
|||
{
|
||||
lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058;
|
||||
lean_dec(x_1033);
|
||||
lean_inc(x_1035);
|
||||
lean_inc(x_1034);
|
||||
x_1055 = lean_string_utf8_next_fast(x_1034, x_1035);
|
||||
x_1056 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1056, 0, x_1034);
|
||||
|
|
@ -15894,8 +15812,6 @@ else
|
|||
{
|
||||
lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091;
|
||||
lean_dec_ref(x_1076);
|
||||
lean_inc(x_1078);
|
||||
lean_inc(x_1077);
|
||||
x_1088 = lean_string_utf8_next_fast(x_1077, x_1078);
|
||||
x_1089 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1089, 0, x_1077);
|
||||
|
|
@ -16087,8 +16003,6 @@ x_1123 = lean_ctor_get(x_1112, 1);
|
|||
lean_dec(x_1123);
|
||||
x_1124 = lean_ctor_get(x_1112, 0);
|
||||
lean_dec(x_1124);
|
||||
lean_inc(x_1114);
|
||||
lean_inc(x_1113);
|
||||
x_1125 = lean_string_utf8_next_fast(x_1113, x_1114);
|
||||
lean_ctor_set(x_1112, 1, x_1125);
|
||||
x_1126 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__112;
|
||||
|
|
@ -16149,8 +16063,6 @@ else
|
|||
{
|
||||
lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136;
|
||||
lean_dec(x_1112);
|
||||
lean_inc(x_1114);
|
||||
lean_inc(x_1113);
|
||||
x_1133 = lean_string_utf8_next_fast(x_1113, x_1114);
|
||||
x_1134 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1134, 0, x_1113);
|
||||
|
|
@ -16326,8 +16238,6 @@ x_1166 = lean_ctor_get(x_1155, 1);
|
|||
lean_dec(x_1166);
|
||||
x_1167 = lean_ctor_get(x_1155, 0);
|
||||
lean_dec(x_1167);
|
||||
lean_inc(x_1157);
|
||||
lean_inc(x_1156);
|
||||
x_1168 = lean_string_utf8_next_fast(x_1156, x_1157);
|
||||
lean_ctor_set(x_1155, 1, x_1168);
|
||||
x_1169 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__116;
|
||||
|
|
@ -16402,8 +16312,6 @@ else
|
|||
{
|
||||
lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180;
|
||||
lean_dec(x_1155);
|
||||
lean_inc(x_1157);
|
||||
lean_inc(x_1156);
|
||||
x_1177 = lean_string_utf8_next_fast(x_1156, x_1157);
|
||||
x_1178 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1178, 0, x_1156);
|
||||
|
|
@ -16594,8 +16502,6 @@ x_1210 = lean_ctor_get(x_1199, 1);
|
|||
lean_dec(x_1210);
|
||||
x_1211 = lean_ctor_get(x_1199, 0);
|
||||
lean_dec(x_1211);
|
||||
lean_inc(x_1201);
|
||||
lean_inc(x_1200);
|
||||
x_1212 = lean_string_utf8_next_fast(x_1200, x_1201);
|
||||
lean_ctor_set(x_1199, 1, x_1212);
|
||||
x_1213 = l___private_Std_Time_Format_Basic_0__Std_Time_parseModifier___closed__120;
|
||||
|
|
@ -16671,8 +16577,6 @@ else
|
|||
{
|
||||
lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224;
|
||||
lean_dec(x_1199);
|
||||
lean_inc(x_1201);
|
||||
lean_inc(x_1200);
|
||||
x_1221 = lean_string_utf8_next_fast(x_1200, x_1201);
|
||||
x_1222 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_1222, 0, x_1200);
|
||||
|
|
@ -18252,8 +18156,8 @@ x_18 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_4);
|
||||
x_20 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 1, x_20);
|
||||
x_21 = lean_string_push(x_2, x_15);
|
||||
x_2 = x_21;
|
||||
|
|
@ -18263,8 +18167,8 @@ else
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_4);
|
||||
x_23 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_4);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -18349,8 +18253,8 @@ x_18 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_4);
|
||||
x_20 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
lean_ctor_set(x_3, 1, x_20);
|
||||
x_21 = lean_string_push(x_2, x_15);
|
||||
x_22 = l_Std_Internal_Parsec_manyCharsCore___at___00Std_Internal_Parsec_manyCharsCore___at___00__private_Std_Time_Format_Basic_0__Std_Time_parseFormatPart_spec__0_spec__0(x_1, x_21, x_3);
|
||||
|
|
@ -18360,8 +18264,8 @@ else
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_4);
|
||||
x_23 = lean_string_utf8_next_fast(x_4, x_5);
|
||||
lean_dec(x_5);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_4);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -18532,8 +18436,8 @@ x_23 = lean_ctor_get(x_4, 1);
|
|||
lean_dec(x_23);
|
||||
x_24 = lean_ctor_get(x_4, 0);
|
||||
lean_dec(x_24);
|
||||
lean_inc(x_5);
|
||||
x_25 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_4, 1, x_25);
|
||||
x_26 = lean_string_push(x_3, x_18);
|
||||
x_3 = x_26;
|
||||
|
|
@ -18543,8 +18447,8 @@ else
|
|||
{
|
||||
lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_5);
|
||||
x_28 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_29 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_29, 0, x_5);
|
||||
lean_ctor_set(x_29, 1, x_28);
|
||||
|
|
@ -18694,8 +18598,8 @@ x_22 = lean_ctor_get(x_3, 1);
|
|||
lean_dec(x_22);
|
||||
x_23 = lean_ctor_get(x_3, 0);
|
||||
lean_dec(x_23);
|
||||
lean_inc(x_7);
|
||||
x_24 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_24);
|
||||
lean_inc(x_7);
|
||||
lean_ctor_set(x_3, 1, x_24);
|
||||
|
|
@ -18718,8 +18622,8 @@ if (x_30 == 0)
|
|||
{
|
||||
lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35;
|
||||
lean_dec_ref(x_3);
|
||||
lean_inc(x_7);
|
||||
x_31 = lean_string_utf8_next_fast(x_7, x_24);
|
||||
lean_dec(x_24);
|
||||
x_32 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_32, 0, x_7);
|
||||
lean_ctor_set(x_32, 1, x_31);
|
||||
|
|
@ -18774,8 +18678,8 @@ x_52 = lean_ctor_get(x_37, 1);
|
|||
lean_dec(x_52);
|
||||
x_53 = lean_ctor_get(x_37, 0);
|
||||
lean_dec(x_53);
|
||||
lean_inc(x_39);
|
||||
x_54 = lean_string_utf8_next_fast(x_39, x_40);
|
||||
lean_dec(x_40);
|
||||
lean_ctor_set(x_37, 1, x_54);
|
||||
return x_35;
|
||||
}
|
||||
|
|
@ -18783,8 +18687,8 @@ else
|
|||
{
|
||||
lean_object* x_55; lean_object* x_56;
|
||||
lean_dec(x_37);
|
||||
lean_inc(x_39);
|
||||
x_55 = lean_string_utf8_next_fast(x_39, x_40);
|
||||
lean_dec(x_40);
|
||||
x_56 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_56, 0, x_39);
|
||||
lean_ctor_set(x_56, 1, x_55);
|
||||
|
|
@ -18851,8 +18755,8 @@ if (lean_is_exclusive(x_58)) {
|
|||
lean_dec_ref(x_58);
|
||||
x_73 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_60);
|
||||
x_74 = lean_string_utf8_next_fast(x_60, x_61);
|
||||
lean_dec(x_61);
|
||||
if (lean_is_scalar(x_73)) {
|
||||
x_75 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -18916,8 +18820,8 @@ else
|
|||
{
|
||||
lean_object* x_81; lean_object* x_82; uint8_t x_86;
|
||||
lean_dec(x_3);
|
||||
lean_inc(x_7);
|
||||
x_81 = lean_string_utf8_next_fast(x_7, x_8);
|
||||
lean_dec(x_8);
|
||||
lean_inc(x_81);
|
||||
lean_inc(x_7);
|
||||
x_82 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -18942,8 +18846,8 @@ if (x_88 == 0)
|
|||
{
|
||||
lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93;
|
||||
lean_dec_ref(x_82);
|
||||
lean_inc(x_7);
|
||||
x_89 = lean_string_utf8_next_fast(x_7, x_81);
|
||||
lean_dec(x_81);
|
||||
x_90 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_90, 0, x_7);
|
||||
lean_ctor_set(x_90, 1, x_89);
|
||||
|
|
@ -19010,8 +18914,8 @@ if (lean_is_exclusive(x_94)) {
|
|||
lean_dec_ref(x_94);
|
||||
x_110 = lean_box(0);
|
||||
}
|
||||
lean_inc(x_97);
|
||||
x_111 = lean_string_utf8_next_fast(x_97, x_98);
|
||||
lean_dec(x_98);
|
||||
if (lean_is_scalar(x_110)) {
|
||||
x_112 = lean_alloc_ctor(0, 2, 0);
|
||||
} else {
|
||||
|
|
@ -19153,8 +19057,8 @@ x_20 = lean_ctor_get(x_4, 1);
|
|||
lean_dec(x_20);
|
||||
x_21 = lean_ctor_get(x_4, 0);
|
||||
lean_dec(x_21);
|
||||
lean_inc(x_11);
|
||||
x_22 = lean_string_utf8_next_fast(x_11, x_12);
|
||||
lean_dec(x_12);
|
||||
lean_ctor_set(x_4, 1, x_22);
|
||||
x_23 = l___private_Std_Time_Format_Basic_0__Std_Time_parseMod___redArg___closed__1;
|
||||
x_24 = lean_string_push(x_23, x_15);
|
||||
|
|
@ -19165,8 +19069,8 @@ else
|
|||
{
|
||||
lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30;
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_11);
|
||||
x_26 = lean_string_utf8_next_fast(x_11, x_12);
|
||||
lean_dec(x_12);
|
||||
x_27 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_27, 0, x_11);
|
||||
lean_ctor_set(x_27, 1, x_26);
|
||||
|
|
@ -19283,8 +19187,8 @@ lean_dec(x_11);
|
|||
x_12 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_12);
|
||||
x_13 = lean_string_utf8_get_fast(x_6, x_7);
|
||||
lean_inc(x_6);
|
||||
x_14 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
lean_ctor_set(x_2, 1, x_14);
|
||||
x_15 = lean_box_uint32(x_13);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -19297,8 +19201,8 @@ else
|
|||
uint32_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21;
|
||||
lean_dec(x_2);
|
||||
x_17 = lean_string_utf8_get_fast(x_6, x_7);
|
||||
lean_inc(x_6);
|
||||
x_18 = lean_string_utf8_next_fast(x_6, x_7);
|
||||
lean_dec(x_7);
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_19, 0, x_6);
|
||||
lean_ctor_set(x_19, 1, x_18);
|
||||
|
|
@ -19520,8 +19424,6 @@ x_57 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time_
|
|||
x_58 = lean_box(x_52);
|
||||
x_59 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time_parseFormatPart___lam__3___boxed), 2, 1);
|
||||
lean_closure_set(x_59, 0, x_58);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
x_60 = lean_string_utf8_next_fast(x_16, x_17);
|
||||
lean_ctor_set(x_10, 1, x_60);
|
||||
x_61 = l_Functor_mapRev___at___00__private_Std_Time_Format_Basic_0__Std_Time_parseFormatPart_spec__2___redArg(x_59, x_57, x_10);
|
||||
|
|
@ -19551,8 +19453,6 @@ x_64 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time_
|
|||
x_65 = lean_box(x_52);
|
||||
x_66 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time_parseFormatPart___lam__3___boxed), 2, 1);
|
||||
lean_closure_set(x_66, 0, x_65);
|
||||
lean_inc(x_17);
|
||||
lean_inc(x_16);
|
||||
x_67 = lean_string_utf8_next_fast(x_16, x_17);
|
||||
x_68 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_68, 0, x_16);
|
||||
|
|
@ -19766,8 +19666,6 @@ x_113 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time
|
|||
x_114 = lean_box(x_109);
|
||||
x_115 = lean_alloc_closure((void*)(l___private_Std_Time_Format_Basic_0__Std_Time_parseFormatPart___lam__3___boxed), 2, 1);
|
||||
lean_closure_set(x_115, 0, x_114);
|
||||
lean_inc(x_74);
|
||||
lean_inc(x_73);
|
||||
x_116 = lean_string_utf8_next_fast(x_73, x_74);
|
||||
if (lean_is_scalar(x_112)) {
|
||||
x_117 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -47859,8 +47757,8 @@ x_11 = lean_ctor_get(x_1, 1);
|
|||
lean_dec(x_11);
|
||||
x_12 = lean_ctor_get(x_1, 0);
|
||||
lean_dec(x_12);
|
||||
lean_inc(x_2);
|
||||
x_13 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
lean_ctor_set(x_1, 1, x_13);
|
||||
x_14 = lean_box_uint32(x_6);
|
||||
x_15 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -47872,8 +47770,8 @@ else
|
|||
{
|
||||
lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19;
|
||||
lean_dec(x_1);
|
||||
lean_inc(x_2);
|
||||
x_16 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_17 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_17, 0, x_2);
|
||||
lean_ctor_set(x_17, 1, x_16);
|
||||
|
|
@ -48018,8 +47916,8 @@ x_18 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_18);
|
||||
x_19 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_19);
|
||||
lean_inc(x_3);
|
||||
x_20 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
lean_ctor_set(x_2, 1, x_20);
|
||||
x_21 = lean_string_push(x_1, x_14);
|
||||
x_1 = x_21;
|
||||
|
|
@ -48029,8 +47927,8 @@ else
|
|||
{
|
||||
lean_object* x_23; lean_object* x_24; lean_object* x_25;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_3);
|
||||
x_23 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_24 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_24, 0, x_3);
|
||||
lean_ctor_set(x_24, 1, x_23);
|
||||
|
|
@ -48327,8 +48225,8 @@ goto block_41;
|
|||
block_19:
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17;
|
||||
lean_inc(x_3);
|
||||
x_15 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_3);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
|
|
@ -48529,8 +48427,8 @@ goto block_41;
|
|||
block_19:
|
||||
{
|
||||
lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18;
|
||||
lean_inc(x_3);
|
||||
x_15 = lean_string_utf8_next_fast(x_3, x_4);
|
||||
lean_dec(x_4);
|
||||
x_16 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_16, 0, x_3);
|
||||
lean_ctor_set(x_16, 1, x_15);
|
||||
|
|
@ -48729,8 +48627,8 @@ goto block_35;
|
|||
block_12:
|
||||
{
|
||||
lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11;
|
||||
lean_inc(x_2);
|
||||
x_7 = lean_string_utf8_next_fast(x_2, x_3);
|
||||
lean_dec(x_3);
|
||||
x_8 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_8, 0, x_2);
|
||||
lean_ctor_set(x_8, 1, x_7);
|
||||
|
|
@ -49327,8 +49225,8 @@ x_15 = lean_ctor_get(x_2, 1);
|
|||
lean_dec(x_15);
|
||||
x_16 = lean_ctor_get(x_2, 0);
|
||||
lean_dec(x_16);
|
||||
lean_inc(x_5);
|
||||
x_17 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
lean_ctor_set(x_2, 1, x_17);
|
||||
x_18 = l___private_Std_Time_Format_Basic_0__Std_Time_parseOffset___lam__1___boxed__const__1;
|
||||
x_19 = lean_alloc_ctor(0, 2, 0);
|
||||
|
|
@ -49340,8 +49238,8 @@ else
|
|||
{
|
||||
lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23;
|
||||
lean_dec(x_2);
|
||||
lean_inc(x_5);
|
||||
x_20 = lean_string_utf8_next_fast(x_5, x_6);
|
||||
lean_dec(x_6);
|
||||
x_21 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_21, 0, x_5);
|
||||
lean_ctor_set(x_21, 1, x_20);
|
||||
|
|
@ -49863,8 +49761,8 @@ x_170 = lean_ctor_get(x_4, 1);
|
|||
lean_dec(x_170);
|
||||
x_171 = lean_ctor_get(x_4, 0);
|
||||
lean_dec(x_171);
|
||||
lean_inc(x_100);
|
||||
x_172 = lean_string_utf8_next_fast(x_100, x_101);
|
||||
lean_dec(x_101);
|
||||
lean_ctor_set(x_4, 1, x_172);
|
||||
x_173 = l_Std_Time_instReprText_repr___closed__7;
|
||||
x_105 = x_4;
|
||||
|
|
@ -49875,8 +49773,8 @@ else
|
|||
{
|
||||
lean_object* x_174; lean_object* x_175; lean_object* x_176;
|
||||
lean_dec(x_4);
|
||||
lean_inc(x_100);
|
||||
x_174 = lean_string_utf8_next_fast(x_100, x_101);
|
||||
lean_dec(x_101);
|
||||
x_175 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_175, 0, x_100);
|
||||
lean_ctor_set(x_175, 1, x_174);
|
||||
|
|
@ -50395,8 +50293,8 @@ else
|
|||
{
|
||||
lean_object* x_159; lean_object* x_160; lean_object* x_161;
|
||||
lean_dec_ref(x_146);
|
||||
lean_inc(x_147);
|
||||
x_159 = lean_string_utf8_next_fast(x_147, x_148);
|
||||
lean_dec(x_148);
|
||||
x_160 = lean_alloc_ctor(0, 2, 0);
|
||||
lean_ctor_set(x_160, 0, x_147);
|
||||
lean_ctor_set(x_160, 1, x_159);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue