diff options
Diffstat (limited to 'docs/develop')
| -rw-r--r-- | docs/develop/compiler.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/develop/compiler.rst b/docs/develop/compiler.rst index cac92585f..00cc90f81 100644 --- a/docs/develop/compiler.rst +++ b/docs/develop/compiler.rst @@ -157,7 +157,7 @@ The most relevant method you should know about is this: mp_compile_to_raw_code(parse_tree, source_file, is_repl, &cm); // Create and return a function object that executes the outer module. - return mp_make_function_from_raw_code(cm.rc, cm.context, NULL); + return mp_make_function_from_proto_fun(cm.rc, cm.context, NULL); } The compiler compiles the code in four passes: scope, stack size, code size and emit. |
