@@ -1277,9 +1277,8 @@ JL_DLLEXPORT jl_value_t *jl_macroexpand1(jl_value_t *expr, jl_module_t *inmodule
12771277
12781278// Main entry point to flisp lowering. Most arguments are optional; see `jl_lower_expr_mod`.
12791279// warn: Print any lowering warnings returned; otherwise ignore
1280- // stmt: Lower knowing that the value of expr is unused
12811280JL_DLLEXPORT jl_value_t * jl_fl_lower (jl_value_t * expr , jl_module_t * inmodule ,
1282- const char * file , int line , size_t world , bool_t warn , bool_t stmt )
1281+ const char * file , int line , size_t world , bool_t warn )
12831282{
12841283 JL_TIMING (LOWERING , LOWERING );
12851284 jl_timing_show_location (file , line , inmodule , JL_TIMING_DEFAULT_BLOCK );
@@ -1290,8 +1289,8 @@ JL_DLLEXPORT jl_value_t *jl_fl_lower(jl_value_t *expr, jl_module_t *inmodule,
12901289 jl_ast_context_t * ctx = jl_ast_ctx_enter (inmodule );
12911290 fl_context_t * fl_ctx = & ctx -> fl ;
12921291 value_t arg = julia_to_scm (fl_ctx , expr );
1293- value_t e = fl_applyn (fl_ctx , 4 , symbol_value (symbol (fl_ctx , "jl-lower-to-thunk" )), arg ,
1294- symbol (fl_ctx , file ), fixnum (line ), stmt ? fl_ctx -> T : fl_ctx -> F );
1292+ value_t e = fl_applyn (fl_ctx , 3 , symbol_value (symbol (fl_ctx , "jl-lower-to-thunk" )), arg ,
1293+ symbol (fl_ctx , file ), fixnum (line ));
12951294 value_t lwr = car_ (e );
12961295 value_t warnings = car_ (cdr_ (e ));
12971296 expr = scm_to_julia (fl_ctx , lwr , inmodule );
@@ -1326,15 +1325,15 @@ JL_DLLEXPORT jl_value_t *jl_fl_lower(jl_value_t *expr, jl_module_t *inmodule,
13261325
13271326// Lower an expression tree into Julia's intermediate-representation.
13281327JL_DLLEXPORT jl_value_t * jl_lower (jl_value_t * expr , jl_module_t * inmodule ,
1329- const char * file , int line , size_t world , bool_t warn , bool_t stmt )
1328+ const char * file , int line , size_t world , bool_t warn )
13301329{
13311330 // TODO: Allow change of lowerer
1332- return jl_fl_lower (expr , inmodule , file , line , world , warn , stmt );
1331+ return jl_fl_lower (expr , inmodule , file , line , world , warn );
13331332}
13341333
13351334JL_DLLEXPORT jl_value_t * jl_lower_expr_mod (jl_value_t * expr , jl_module_t * inmodule )
13361335{
1337- return jl_lower (expr , inmodule , "none" , 0 , ~(size_t )0 , 0 , 0 );
1336+ return jl_lower (expr , inmodule , "none" , 0 , ~(size_t )0 , 0 );
13381337}
13391338
13401339jl_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 )
0 commit comments