Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Issue 2993463002: Add CallType to DynamicCallSiteTypeInformation (Closed)

Created:
3 years, 4 months ago by Johnni Winther
Modified:
3 years, 4 months ago
CC:
reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add CallType to DynamicCallSiteTypeInformation - to avoid using that type of the call node to determine how type masks are stored in the GlobalTypeInferenceElementData. This prepares for using arbitrary values (ast or ir nodes) as keys in GlobalTypeInferenceElementData. R=sigmund@google.com Committed: https://github.com/dart-lang/sdk/commit/f19ee6c9bf2617c3d127352c0f7bf408f42203e7

Patch Set 1 #

Total comments: 4

Patch Set 2 : Updated cf. comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+119 lines, -63 lines) Patch
M pkg/compiler/lib/src/inferrer/builder.dart View 14 chunks +60 lines, -34 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/inferrer_engine.dart View 1 5 chunks +31 lines, -24 lines 0 comments Download
M pkg/compiler/lib/src/inferrer/type_graph_nodes.dart View 7 chunks +28 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
Johnni Winther
3 years, 4 months ago (2017-07-31 13:33:41 UTC) #2
Siggi Cherem (dart-lang)
lgtm https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferrer/inferrer_engine.dart File pkg/compiler/lib/src/inferrer/inferrer_engine.dart (right): https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferrer/inferrer_engine.dart#newcode392 pkg/compiler/lib/src/inferrer/inferrer_engine.dart:392: /*if (node.asSendSet() != null) { delete old code ...
3 years, 4 months ago (2017-07-31 19:30:29 UTC) #3
Johnni Winther
Committed patchset #2 (id:20001) manually as f19ee6c9bf2617c3d127352c0f7bf408f42203e7 (presubmit successful).
3 years, 4 months ago (2017-08-01 07:31:58 UTC) #5
Johnni Winther
3 years, 4 months ago (2017-08-01 13:09:20 UTC) #6
Message was sent while issue was closed.
https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferr...
File pkg/compiler/lib/src/inferrer/inferrer_engine.dart (right):

https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferr...
pkg/compiler/lib/src/inferrer/inferrer_engine.dart:392: /*if (node.asSendSet()
!= null) {
On 2017/07/31 19:30:29, Siggi Cherem (dart-lang) wrote:
> delete old code

Done.

https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferr...
File pkg/compiler/lib/src/inferrer/type_graph_nodes.dart (right):

https://codereview.chromium.org/2993463002/diff/1/pkg/compiler/lib/src/inferr...
pkg/compiler/lib/src/inferrer/type_graph_nodes.dart:834: bool
validCallType(CallType callType, Spannable call) {
On 2017/07/31 19:30:29, Siggi Cherem (dart-lang) wrote:
> I didn't see this used. Should this replace all the asserts in
> updateSelectorInMember?

Used in DynamicCallSiteTypeInformation constructor (and now in
updateSelectorInMember as well)

Powered by Google App Engine
This is Rietveld 408576698