mirror of
https://github.com/dart-lang/sdk
synced 2024-10-03 13:11:15 +00:00
Fix regression introduced in 'Use AbstractValue in most of ssa'
Change-Id: Ie6159eb750ece1748ba1bb0b3c4f4d13a0dff9d6 Reviewed-on: https://dart-review.googlesource.com/58021 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
parent
184df3aee0
commit
e1549df93f
|
@ -1282,7 +1282,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
|||
}
|
||||
// All intercepted classes extend `Interceptor`, so if the receiver can't
|
||||
// be a class extending `Interceptor` then it can be called directly.
|
||||
if (!_abstractValueDomain.canBeInterceptor(toStringType)) {
|
||||
if (!_abstractValueDomain.canBeInterceptor(input.instructionType)) {
|
||||
var inputs = <HInstruction>[input, input]; // [interceptor, receiver].
|
||||
HInstruction result = new HInvokeDynamicMethod(
|
||||
selector,
|
||||
|
|
Loading…
Reference in a new issue