@@ -689,9 +689,9 @@ void FlowGraphCompiler::CheckTypeArgsLen(bool expect_type_args,
689
689
// If expect_type_args, a non-zero length must match the declaration length.
690
690
__ LoadFieldFromOffset (R8, R4, ArgumentsDescriptor::type_args_len_offset ());
691
691
if (isolate ()->strong ()) {
692
- __ and_ (R8, R8,
693
- Operand ( Smi::RawValue (
694
- ArgumentsDescriptor::TypeArgsLenField::mask_in_place () )));
692
+ __ AndImmediate (
693
+ R8, R8,
694
+ Smi::RawValue ( ArgumentsDescriptor::TypeArgsLenField::mask_in_place ()));
695
695
}
696
696
__ CompareImmediate (R8, Smi::RawValue (0 ));
697
697
if (expect_type_args) {
@@ -730,9 +730,10 @@ void FlowGraphCompiler::CopyParameters(bool expect_type_args,
730
730
ArgumentsDescriptor::positional_count_offset ());
731
731
732
732
if (isolate ()->strong ()) {
733
- __ and_ (R8, R8,
734
- Operand (Smi::RawValue (
735
- ArgumentsDescriptor::PositionalCountField::mask_in_place ())));
733
+ __ AndImmediate (
734
+ R8, R8,
735
+ Smi::RawValue (
736
+ ArgumentsDescriptor::PositionalCountField::mask_in_place ()));
736
737
}
737
738
738
739
// Check that min_num_pos_args <= num_pos_args.
@@ -822,10 +823,10 @@ void FlowGraphCompiler::CopyParameters(bool expect_type_args,
822
823
// fp[kParamEndSlotFromFp + num_args - arg_pos].
823
824
__ LoadFromOffset (R5, R6, ArgumentsDescriptor::position_offset ());
824
825
if (isolate ()->strong ()) {
825
- __ and_ (
826
+ __ AndImmediate (
826
827
R5, R5,
827
- Operand ( Smi::RawValue (
828
- ArgumentsDescriptor::PositionalCountField::mask_in_place ()))) ;
828
+ Smi::RawValue (
829
+ ArgumentsDescriptor::PositionalCountField::mask_in_place ()));
829
830
}
830
831
// R5 is arg_pos as Smi.
831
832
// Point to next named entry.
@@ -863,9 +864,8 @@ void FlowGraphCompiler::CopyParameters(bool expect_type_args,
863
864
ArgumentsDescriptor::positional_count_offset ());
864
865
__ SmiUntag (R8);
865
866
if (isolate ()->strong ()) {
866
- __ and_ (
867
- R8, R8,
868
- Operand (ArgumentsDescriptor::PositionalCountField::mask_in_place ()));
867
+ __ AndImmediate (
868
+ R8, R8, ArgumentsDescriptor::PositionalCountField::mask_in_place ());
869
869
}
870
870
for (int i = 0 ; i < num_opt_pos_params; i++) {
871
871
Label next_parameter;
@@ -1046,10 +1046,10 @@ void FlowGraphCompiler::CompileGraph() {
1046
1046
__ LoadFieldFromOffset (R1, R4,
1047
1047
ArgumentsDescriptor::positional_count_offset ());
1048
1048
if (isolate ()->strong ()) {
1049
- __ and_ (
1049
+ __ AndImmediate (
1050
1050
R1, R1,
1051
- Operand ( Smi::RawValue (
1052
- ArgumentsDescriptor::PositionalCountField::mask_in_place ()))) ;
1051
+ Smi::RawValue (
1052
+ ArgumentsDescriptor::PositionalCountField::mask_in_place ()));
1053
1053
}
1054
1054
__ CompareRegisters (R0, R1);
1055
1055
__ b (&correct_num_arguments, EQ);
0 commit comments