DescriptionAdd SSA instructions for reified type information
This enables GVN optimizations of type representations, e.g.
var touches, targetTouches, changedTouches, mockTouchList, t1;
touches = H.setRuntimeTypeInfo([], [W.Touch]);
targetTouches = H.setRuntimeTypeInfo([], [W.Touch]);
changedTouches = H.setRuntimeTypeInfo([], [W.Touch]);
mockTouchList = H.setRuntimeTypeInfo([new S.MockTouch(e)], [W.Touch]);
--->
var t1, touches, targetTouches, changedTouches, mockTouchList;
t1 = [W.Touch];
touches = H.setRuntimeTypeInfo([], t1);
targetTouches = H.setRuntimeTypeInfo([], t1);
changedTouches = H.setRuntimeTypeInfo([], t1);
mockTouchList = H.setRuntimeTypeInfo([new S.MockTouch(e)], t1);
BUG=
R=sigmund@google.com
Committed: https://github.com/dart-lang/sdk/commit/266ac1b0bc68763868f1aa448f5c8b2f822fc7ad
Patch Set 1 #
Total comments: 14
Patch Set 2 : address review comments #Patch Set 3 : reformat #
Messages
Total messages: 6 (2 generated)
|