Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index 03a3741b984141d01e465d7beaad632ef1e7a8ab..644e8b2e9d12f8b49d6835765cb11ef9061f1571 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -2856,8 +2856,12 @@ class CheckedSmiSlowPath : public SlowPathCode { |
} |
__ pushq(locs->in(0).reg()); |
__ pushq(locs->in(1).reg()); |
+ const String& selector = |
+ String::Handle(instruction_->call()->ic_data()->target_name()); |
+ const Array& argument_names = |
+ Array::Handle(instruction_->call()->ic_data()->arguments_descriptor()); |
compiler->EmitMegamorphicInstanceCall( |
- *instruction_->call()->ic_data(), instruction_->call()->ArgumentCount(), |
+ selector, argument_names, instruction_->call()->ArgumentCount(), |
instruction_->call()->deopt_id(), instruction_->call()->token_pos(), |
locs, try_index_, |
/* slow_path_argument_count = */ 2); |
@@ -3021,8 +3025,12 @@ class CheckedSmiComparisonSlowPath : public SlowPathCode { |
} |
__ pushq(locs->in(0).reg()); |
__ pushq(locs->in(1).reg()); |
+ String& selector = |
+ String::Handle(instruction_->call()->ic_data()->target_name()); |
+ Array& argument_names = |
+ Array::Handle(instruction_->call()->ic_data()->arguments_descriptor()); |
compiler->EmitMegamorphicInstanceCall( |
- *instruction_->call()->ic_data(), instruction_->call()->ArgumentCount(), |
+ selector, argument_names, instruction_->call()->ArgumentCount(), |
instruction_->call()->deopt_id(), instruction_->call()->token_pos(), |
locs, try_index_, |
/* slow_path_argument_count = */ 2); |