mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:20:31 +00:00
[ VM / Hot Reload ] Fixed issue where CallSiteResetter was attempting to rebind ICData for field initializers
Fixes multiple hot reload tests. Change-Id: I7b6a58bef78eef59db350c52dd5435c57482a21e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/134864 Reviewed-by: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
parent
4310f50edc
commit
342fd67c1d
1 changed files with 2 additions and 2 deletions
|
@ -469,11 +469,11 @@ Fragment FlowGraphBuilder::LoadLateField(const Field& field,
|
|||
Fragment initialize(is_uninitialized);
|
||||
if (is_static) {
|
||||
initialize += StaticCall(position, init_function,
|
||||
/* argument_count = */ 0, ICData::kStatic);
|
||||
/* argument_count = */ 0, ICData::kNoRebind);
|
||||
} else {
|
||||
initialize += LoadLocal(instance);
|
||||
initialize += StaticCall(position, init_function,
|
||||
/* argument_count = */ 1, ICData::kStatic);
|
||||
/* argument_count = */ 1, ICData::kNoRebind);
|
||||
}
|
||||
initialize += StoreLocal(position, temp);
|
||||
initialize += Drop();
|
||||
|
|
Loading…
Reference in a new issue