| Index: pkg/compiler/lib/src/ssa/nodes.dart
|
| diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
|
| index c53d6b94b5e23164c93cea578d32cdd2c84d3e23..adc207662fe2d316dac8035fd266e125878cf4f3 100644
|
| --- a/pkg/compiler/lib/src/ssa/nodes.dart
|
| +++ b/pkg/compiler/lib/src/ssa/nodes.dart
|
| @@ -1940,10 +1940,11 @@ class HForeignCode extends HForeign {
|
| int typeCode() => HInstruction.FOREIGN_CODE_TYPECODE;
|
| bool typeEquals(other) => other is HForeignCode;
|
| bool dataEquals(HForeignCode other) {
|
| - return codeTemplate.source == other.codeTemplate.source;
|
| + return codeTemplate.source != null &&
|
| + codeTemplate.source == other.codeTemplate.source;
|
| }
|
|
|
| - String toString() => 'HForeignCode("${codeTemplate.source}", $inputs)';
|
| + String toString() => 'HForeignCode("${codeTemplate.source}")';
|
| }
|
|
|
| abstract class HInvokeBinary extends HInstruction {
|
|
|