| Index: runtime/vm/flow_graph_compiler_arm64.cc
|
| diff --git a/runtime/vm/flow_graph_compiler_arm64.cc b/runtime/vm/flow_graph_compiler_arm64.cc
|
| index d62a23a3059960a3c784cc5511c0a7be77c02b73..07cff9ecb8175c5f8989f8429f12d3e00318c905 100644
|
| --- a/runtime/vm/flow_graph_compiler_arm64.cc
|
| +++ b/runtime/vm/flow_graph_compiler_arm64.cc
|
| @@ -1303,7 +1303,7 @@ void FlowGraphCompiler::EmitMegamorphicInstanceCall(
|
| // Load receiver into R0.
|
| __ LoadFromOffset(R0, SP, (argument_count - 1) * kWordSize);
|
| Label done;
|
| - if (name.raw() == Symbols::hashCode().raw()) {
|
| + if (ShouldInlineSmiStringHashCode(ic_data)) {
|
| Label megamorphic_call;
|
| __ Comment("Inlined get:hashCode for Smi and OneByteString");
|
| __ tsti(R0, Immediate(kSmiTagMask));
|
|
|