@@ -1281,21 +1281,7 @@ JL_DLLEXPORT jl_value_t *jl_expand(jl_value_t *expr, jl_module_t *inmodule)
12811281 return jl_lower (expr , inmodule , "none" , 0 , ~(size_t )0 , 0 , 0 );
12821282}
12831283
1284- // Lowering, with starting program location specified
1285- JL_DLLEXPORT jl_value_t * jl_expand_with_loc (jl_value_t * expr , jl_module_t * inmodule ,
1286- const char * file , int line )
1287- {
1288- return jl_lower (expr , inmodule , file , line , ~(size_t )0 , 0 , 0 );
1289- }
1290-
1291- // Lowering, with starting program location and worldage specified
1292- JL_DLLEXPORT jl_value_t * jl_expand_in_world (jl_value_t * expr , jl_module_t * inmodule ,
1293- const char * file , int line , size_t world )
1294- {
1295- return jl_lower (expr , inmodule , file , line , world , 0 , 0 );
1296- }
1297-
1298- // Main entry point to flisp lowering
1284+ // Main entry point to flisp lowering. Most arguments are optional; see `jl_expand`.
12991285// warn: Print any lowering warnings returned; otherwise ignore
13001286// stmt: Lower knowing that the value of expr is unused
13011287JL_DLLEXPORT jl_value_t * jl_fl_lower (jl_value_t * expr , jl_module_t * inmodule ,
@@ -1351,17 +1337,6 @@ JL_DLLEXPORT jl_value_t *jl_lower(jl_value_t *expr, jl_module_t *inmodule,
13511337 return jl_fl_lower (expr , inmodule , file , line , world , warn , stmt );
13521338}
13531339
1354- JL_DLLEXPORT jl_value_t * jl_expand_stmt_with_loc (jl_value_t * expr , jl_module_t * inmodule ,
1355- const char * file , int line )
1356- {
1357- return jl_lower (expr , inmodule , file , line , ~(size_t )0 , 0 , 1 );
1358- }
1359-
1360- JL_DLLEXPORT jl_value_t * jl_expand_stmt (jl_value_t * expr , jl_module_t * inmodule )
1361- {
1362- return jl_lower (expr , inmodule , "none" , 0 , ~(size_t )0 , 0 , 1 );
1363- }
1364-
13651340jl_code_info_t * jl_outer_ctor_body (jl_value_t * thistype , size_t nfields , size_t nsparams , jl_module_t * inmodule , const char * file , int line )
13661341{
13671342 JL_TIMING (LOWERING , LOWERING );
0 commit comments