Skip to content

Commit aa01ece

Browse files
committed
fix: make init procedure private
1 parent e437cad commit aa01ece

File tree

153 files changed

+153
-155
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+153
-155
lines changed

codegen/masm/src/lower/component.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ impl MasmComponentBuilder<'_> {
217217
let init_body = core::mem::take(&mut self.init_body);
218218
let init = masm::Procedure::new(
219219
Default::default(),
220-
masm::Visibility::Public,
220+
masm::Visibility::Private,
221221
init_name,
222222
0,
223223
masm::Block::new(component.span(), init_body),

tests/integration/expected/abi_transform_stdlib_blake3_hash.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/abi_transform_tx_kernel_get_inputs_4.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_felt.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_i128.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_i16.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_i32.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_i64.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_i8.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

tests/integration/expected/add_u128.masm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# mod root_ns:[email protected]
22

3-
export.init
3+
proc.init
44
push.1179648
55
trace.240
66
exec.::intrinsics::mem::heap_init

0 commit comments

Comments
 (0)