mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
[dart2js] Fix some unnecessary bailouts in inference.
Change-Id: If60fe11871da062c52265d821cbf0d7a1185e643 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209845 Reviewed-by: Stephen Adams <sra@google.com>
This commit is contained in:
parent
f5b8cc2c76
commit
a6c90f1601
|
@ -260,7 +260,8 @@ setNativeSubclassDispatchRecord(proto, interceptor) {
|
|||
}
|
||||
|
||||
String constructorNameFallback(object) {
|
||||
return JS('String', '#(#)', _constructorNameFallback, object);
|
||||
return JS('returns:String;effects:none;depends:none', '#(#)',
|
||||
_constructorNameFallback, object);
|
||||
}
|
||||
|
||||
var initNativeDispatchFlag; // null or true
|
||||
|
|
Loading…
Reference in a new issue