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

Issue 10134069: Inline type check where type argument that we check against is instantiated. (Closed)

Created:
8 years, 8 months ago by srdjan
Modified:
8 years, 8 months ago
Reviewers:
regis
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Inline type check where type argument that we check against is instantiated. Committed: https://code.google.com/p/dart/source/detail?r=7046

Patch Set 1 #

Patch Set 2 : #

Total comments: 26

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -21 lines) Patch
M runtime/vm/code_generator.cc View 1 2 3 4 1 chunk +21 lines, -1 line 0 comments Download
M runtime/vm/code_generator_ia32.h View 1 2 3 4 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/vm/code_generator_ia32.cc View 1 2 3 4 4 chunks +112 lines, -15 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
8 years, 8 months ago (2012-04-25 22:50:34 UTC) #1
regis
Either this new inlined code is not tested or I miss something. https://chromiumcodereview.appspot.com/10134069/diff/4001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc ...
8 years, 8 months ago (2012-04-26 00:36:17 UTC) #2
srdjan
Still work in progress https://chromiumcodereview.appspot.com/10134069/diff/4001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): https://chromiumcodereview.appspot.com/10134069/diff/4001/runtime/vm/code_generator.cc#newcode413 runtime/vm/code_generator.cc:413: if (!is_raw_type && !type_arguments.IsNull()) { ...
8 years, 8 months ago (2012-04-26 18:08:37 UTC) #3
srdjan
Regis, can you please have another look. The main change is to limit the inlined ...
8 years, 8 months ago (2012-04-26 21:26:39 UTC) #4
regis
LGTM https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_generator_ia32.cc File runtime/vm/code_generator_ia32.cc (right): https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_generator_ia32.cc#newcode1531 runtime/vm/code_generator_ia32.cc:1531: // Note that the test below must be ...
8 years, 8 months ago (2012-04-26 21:55:05 UTC) #5
srdjan
8 years, 8 months ago (2012-04-26 22:05:48 UTC) #6
https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_gen...
File runtime/vm/code_generator_ia32.cc (right):

https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_gen...
runtime/vm/code_generator_ia32.cc:1531: // Note that the test below must be
synced withe the tests in
On 2012/04/26 21:55:05, regis wrote:
> with

Done.

https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_gen...
runtime/vm/code_generator_ia32.cc:1532: // CodeGenerator::UpdateTestCache.
On 2012/04/26 21:55:05, regis wrote:
> You could factorize the tests in an helper. This way, it would stay in sync.

Will see to it in a next CL...

https://chromiumcodereview.appspot.com/10134069/diff/9002/runtime/vm/code_gen...
runtime/vm/code_generator_ia32.cc:1565: // type-parameters are simple structure.
On 2012/04/26 21:55:05, regis wrote:
> I do not quite understand this TODO, but it has your name on it :-)

Just an  ideas that I plan to sketch out. Maybe nonsensical.

Powered by Google App Engine
This is Rietveld 408576698