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

Issue 10876052: If a PolymorphicInstanceCall has a single target, .. (Closed)

Created:
8 years, 4 months ago by srdjan
Modified:
8 years, 4 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, Florian Schneider
Visibility:
Public.

Description

If a PolymorphicInstanceCall has a single target, move its check into a separate class check so that it can get eliminated. Committed: https://code.google.com/p/dart/source/detail?r=11259

Patch Set 1 #

Patch Set 2 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -3 lines) Patch
M runtime/vm/flow_graph_optimizer.cc View 1 1 chunk +16 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 chunks +4 lines, -2 lines 0 comments Download
M runtime/vm/intermediate_language_ia32.cc View 1 1 chunk +11 lines, -0 lines 1 comment Download
M runtime/vm/intermediate_language_x64.cc View 1 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
srdjan
8 years, 4 months ago (2012-08-23 20:28:13 UTC) #1
srdjan
8 years, 4 months ago (2012-08-23 20:50:13 UTC) #2
regis
8 years, 4 months ago (2012-08-23 21:08:09 UTC) #3
LGTM

https://chromiumcodereview.appspot.com/10876052/diff/7001/runtime/vm/intermed...
File runtime/vm/intermediate_language_ia32.cc (right):

https://chromiumcodereview.appspot.com/10876052/diff/7001/runtime/vm/intermed...
runtime/vm/intermediate_language_ia32.cc:1967: }
You could factorize this code that is repeated below. I suppose it is easier to
read this way. Fine with me.

Powered by Google App Engine
This is Rietveld 408576698