Index: runtime/vm/aot_optimizer.cc |
diff --git a/runtime/vm/aot_optimizer.cc b/runtime/vm/aot_optimizer.cc |
index 49f9f18d17d036a6620083d20a78ed6f602758ca..102cf96df2c188b50aee9029c3b9253167a73660 100644 |
--- a/runtime/vm/aot_optimizer.cc |
+++ b/runtime/vm/aot_optimizer.cc |
@@ -2386,14 +2386,12 @@ void AotOptimizer::ReplaceWithTypeCast(InstanceCallInstr* call) { |
return; |
} |
} |
- const String& dst_name = String::ZoneHandle(Z, |
- Symbols::New(Exceptions::kCastErrorDstName)); |
AssertAssignableInstr* assert_as = |
new(Z) AssertAssignableInstr(call->token_pos(), |
new(Z) Value(left), |
new(Z) Value(type_args), |
type, |
- dst_name, |
+ Symbols::InTypeCast(), |
call->deopt_id()); |
ReplaceCall(call, assert_as); |
} |