Rename CodeBuilder::finalize -> CodeBuilder::build_fn_header

We actually have a few more steps to go after this one!
This commit is contained in:
Brian Carroll 2021-11-09 10:02:16 +00:00
parent c7baaceae9
commit a61987e032
3 changed files with 6 additions and 8 deletions

View file

@ -183,7 +183,7 @@ impl<'a> WasmBackend<'a> {
self.end_block();
// Write local declarations and stack frame push/pop code
self.code_builder.finalize(
self.code_builder.build_fn_header(
&self.storage.local_types,
self.storage.stack_frame_size,
self.storage.stack_frame_pointer,