-
-
Notifications
You must be signed in to change notification settings - Fork 687
Closed
Labels
Description
It seems that when the start function has 200 or more instructions it gets moved to another function and the native start function contains only a single call. Why is that so?
For example:
// repeat 67 times
store<u8>(0, 0);produces
(module
(type $none_=>_none (func))
(memory $0 0)
(export "memory" (memory $0))
(start $~start)
(func $start:assembly/foo
i32.const 0
i32.const 0
i32.store8
i32.const 0
i32.const 0
i32.store8
;; 65 more times
)
(func $~start
call $start:assembly/foo
)
)Reactions are currently unavailable