Skip to content

Commit 3988537

Browse files
committed
Remove jl_lower_expr_mod
1 parent c87456e commit 3988537

File tree

4 files changed

+1
-8
lines changed

4 files changed

+1
-8
lines changed

doc/src/devdocs/eval.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ the expression. Macro expansion involves a handoff from [`eval()`](@ref) (in Jul
8989
function `jl_macroexpand()` (written in `flisp`) to the Julia macro itself (written in - what
9090
else - Julia) via `fl_invoke_julia_macro()`, and back.
9191

92-
Typically, macro expansion is invoked as a first step during a call to [`Meta.lower()`](@ref)/`jl_lower_expr_mod()`,
92+
Typically, macro expansion is invoked as a first step during a call to [`Meta.lower()`](@ref)/`Core._lower()`,
9393
although it can also be invoked directly by a call to [`macroexpand()`](@ref)/`jl_macroexpand()`.
9494

9595
## [Type Inference](@id dev-type-inference)

src/ast.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,11 +1359,6 @@ JL_DLLEXPORT jl_value_t *jl_lower(jl_value_t *expr, jl_module_t *inmodule,
13591359
return result;
13601360
}
13611361

1362-
JL_DLLEXPORT jl_value_t *jl_lower_expr_mod(jl_value_t *expr, jl_module_t *inmodule)
1363-
{
1364-
return jl_lower(expr, inmodule, "none", 0, ~(size_t)0, 0);
1365-
}
1366-
13671362
jl_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)
13681363
{
13691364
JL_TIMING(LOWERING, LOWERING);

src/jl_exported_funcs.inc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@
285285
XX(jl_load_file_string) \
286286
XX(jl_lookup_code_address) \
287287
XX(jl_lower) \
288-
XX(jl_lower_expr_mod) \
289288
XX(jl_lseek) \
290289
XX(jl_lstat) \
291290
XX(jl_macroexpand) \

src/julia.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2260,7 +2260,6 @@ JL_DLLEXPORT jl_value_t *jl_parse_string(const char *text, size_t text_len,
22602260
JL_DLLEXPORT jl_value_t *jl_lower(jl_value_t *expr, jl_module_t *inmodule,
22612261
const char *file, int line, size_t world,
22622262
bool_t warn);
2263-
JL_DLLEXPORT jl_value_t *jl_lower_expr_mod(jl_value_t *expr, jl_module_t *inmodule);
22642263
// deprecated; use jl_parse_all
22652264
JL_DLLEXPORT jl_value_t *jl_parse_input_line(const char *text, size_t text_len,
22662265
const char *filename, size_t filename_len);

0 commit comments

Comments
 (0)