diff options
Diffstat (limited to 'erts/emulator/beam/jit/x86/instr_select.cpp')
-rw-r--r-- | erts/emulator/beam/jit/x86/instr_select.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/jit/x86/instr_select.cpp b/erts/emulator/beam/jit/x86/instr_select.cpp index 39199d2027..529e1f4f01 100644 --- a/erts/emulator/beam/jit/x86/instr_select.cpp +++ b/erts/emulator/beam/jit/x86/instr_select.cpp @@ -1,7 +1,7 @@ /* * %CopyrightBegin% * - * Copyright Ericsson AB 2020-2022. All Rights Reserved. + * Copyright Ericsson AB 2020-2023. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -55,7 +55,7 @@ void BeamModuleAssembler::emit_i_select_tuple_arity(const ArgRegister &Src, ERTS_CT_ASSERT(Support::isInt32(make_arityval(MAX_ARITYVAL))); a.mov(ARG2d, emit_boxed_val(boxed_ptr, 0, sizeof(Uint32))); - if (masked_types(Src, BEAM_TYPE_MASK_BOXED) == BEAM_TYPE_TUPLE) { + if (masked_types<BeamTypeId::MaybeBoxed>(Src) == BeamTypeId::Tuple) { comment("simplified tuple test since the source is always a tuple " "when boxed"); } else { |