Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

global init must have correct type #7

Open
zapashcanon opened this issue Oct 9, 2024 · 0 comments
Open

global init must have correct type #7

zapashcanon opened this issue Oct 9, 2024 · 0 comments

Comments

@zapashcanon
Copy link
Member

On the ray tracer bench:

$ ...
global init must have correct type, on
(struct.new $BlockFloat_3
 (i32.const 3)
 (f64.const 0)
 (f64.const 0)
 (f64.const 0)
)
(type $BlockFloat_3 (sub $BlockFloat_2 (struct (field (mut i16)) (field (mut f64)) (field (mut f64)) (field (mut f64)))))

;; ...
(global $camlRaytrace__Pmakearray_5411 (export "camlRaytrace__Pmakearray_5411") (ref $BlockFloat_3) (struct.new $BlockFloat_3 (i32.const 3) (f64.const 0x0p+0) (f64.const 0x0p+0) (f64.const 0x0p+0)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant