mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 16:12:57 +00:00
[dart2wasm] Simplify type test function names
Instead of <obj> is Class(JSUint16ArrayImpl) generate <obj> is JSUint16ArrayImpl in type test functions. Change-Id: I98e294291f91d3a117052e42b774a907c95ad6b4 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/374001 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com>
This commit is contained in:
parent
586c5f3b54
commit
6535a017ae
|
@ -559,7 +559,7 @@ class Types {
|
|||
[argumentType],
|
||||
[w.NumType.i32],
|
||||
),
|
||||
'<obj> is ${testedAgainstType.classNode}');
|
||||
'<obj> is ${testedAgainstType.classNode.name}');
|
||||
|
||||
final b = function.body;
|
||||
b.local_get(b.locals[0]);
|
||||
|
@ -623,7 +623,7 @@ class Types {
|
|||
[argumentType],
|
||||
[returnType],
|
||||
),
|
||||
'<obj> as ${testedAgainstType.classNode}');
|
||||
'<obj> as ${testedAgainstType.classNode.name}');
|
||||
|
||||
final b = function.body;
|
||||
w.Label asCheckBlock = b.block();
|
||||
|
|
Loading…
Reference in a new issue