Commit 315009e
[vm,dyn_modules] Make sure interpreted NoSuchMethod dispatchers receive arguments descriptor
Fix Function::PrologueNeedsArgumentsDescriptor() to return true for
the interpreted NoSuchMethodDispatchers (although they have saved
arguments descriptor) as entering interpreter through InterpretCall
stub needs it.
This is needed to avoid switching instance calls to monomorphic state
if target is an interpreted NoSuchMethodDispatcher as monomorphic call
does not pass arguments descriptor and it is incompatible with
InterpretCall stub.
TEST=ci (co19/LibTest/convert/JsonCodec/encode_A02_t01)
Change-Id: I4675b27b827d36e3887d748412f5d582c5b43629
Cq-Include-Trybots: luci.dart.try:vm-aot-dyn-linux-debug-x64-try,vm-aot-dyn-linux-product-x64-try,vm-dyn-linux-debug-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/445363
Commit-Queue: Alexander Markov <[email protected]>
Reviewed-by: Tess Strickland <[email protected]>1 parent 41a610e commit 315009e
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11997 | 11997 | | |
11998 | 11998 | | |
11999 | 11999 | | |
12000 | | - | |
12001 | | - | |
12002 | | - | |
12003 | | - | |
12004 | | - | |
12005 | 12000 | | |
12006 | 12001 | | |
12007 | 12002 | | |
12008 | 12003 | | |
12009 | 12004 | | |
12010 | 12005 | | |
| 12006 | + | |
| 12007 | + | |
| 12008 | + | |
| 12009 | + | |
| 12010 | + | |
12011 | 12011 | | |
12012 | 12012 | | |
12013 | 12013 | | |
| |||
0 commit comments