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

Issue 10974005: Disable loop invariant code motion on deoptimized functions. (Closed)

Created:
8 years, 3 months ago by zerny-google
Modified:
8 years, 3 months ago
Reviewers:
Florian Schneider
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Disable loop invariant code motion on deoptimized functions. R=fschneider@google.com Committed: https://code.google.com/p/dart/source/detail?r=12771

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
M runtime/vm/compiler.cc View 1 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
zerny-google
8 years, 3 months ago (2012-09-24 11:03:11 UTC) #1
Florian Schneider
8 years, 3 months ago (2012-09-24 11:08:50 UTC) #2
LGTM with one comment.

https://codereview.chromium.org/10974005/diff/1/runtime/vm/compiler.cc
File runtime/vm/compiler.cc (right):

https://codereview.chromium.org/10974005/diff/1/runtime/vm/compiler.cc#newcod...
runtime/vm/compiler.cc:217: parsed_function.function().deoptimization_counter()
== 0) {
Since there could be other deoptimizations than those caused by code motion, I'd
rather write

parsed_function.function().deoptimization_counter() ==
FLAG_deoptimization_counter_threshold - 1 

to only disable it on the last re-compilation.

Powered by Google App Engine
This is Rietveld 408576698