From 7a8dba0e2b47f893f1dc393b322649c212d7f87d Mon Sep 17 00:00:00 2001 From: Mark Shinwell Date: Mon, 9 Dec 2024 11:04:01 +0000 Subject: [PATCH] Prim_local --- .../flambda2/from_lambda/lambda_to_lambda_transforms.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middle_end/flambda2/from_lambda/lambda_to_lambda_transforms.ml b/middle_end/flambda2/from_lambda/lambda_to_lambda_transforms.ml index 93ec4939759..cb7de467a45 100644 --- a/middle_end/flambda2/from_lambda/lambda_to_lambda_transforms.ml +++ b/middle_end/flambda2/from_lambda/lambda_to_lambda_transforms.ml @@ -228,8 +228,8 @@ let makearray_dynamic_unboxed_product_c_stub ~name (mode : L.locality_mode) = ~c_builtin:false ~effects:Arbitrary_effects ~coeffects:Has_coeffects ~native_name:name ~native_repr_args: - [ Prim_local, L.Same_as_ocaml_repr (Base Value); - Prim_global, L.Same_as_ocaml_repr (Base Value); + [ Prim_global, L.Same_as_ocaml_repr (Base Value); + Prim_local, L.Same_as_ocaml_repr (Base Value); Prim_global, L.Same_as_ocaml_repr (Base Value) ] ~native_repr_res: ( (match mode with Alloc_heap -> Prim_global | Alloc_local -> Prim_local),