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

Issue 10855101: RemoveFromGraph on definitions asserts empty use lists. (Closed)

Created:
8 years, 4 months ago by zerny-google
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

RemoveFromGraph on definitions asserts empty use lists. R=fschneider@google.com,kmillikin@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=10822

Patch Set 1 #

Patch Set 2 : Added default value for argument. #

Total comments: 1

Patch Set 3 : Corrected invariants of def-use chains. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -7 lines) Patch
M runtime/vm/flow_graph_allocator.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 chunks +14 lines, -6 lines 0 comments Download
M runtime/vm/flow_graph_optimizer.cc View 1 2 1 chunk +8 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
zerny-google
8 years, 4 months ago (2012-08-10 13:11:59 UTC) #1
Florian Schneider
lgtm https://chromiumcodereview.appspot.com/10855101/diff/3001/runtime/vm/intermediate_language.cc File runtime/vm/intermediate_language.cc (right): https://chromiumcodereview.appspot.com/10855101/diff/3001/runtime/vm/intermediate_language.cc#newcode146 runtime/vm/intermediate_language.cc:146: ASSERT(use_list() == NULL); Alternatively, you could put the ...
8 years, 4 months ago (2012-08-13 08:37:37 UTC) #2
zerny-google
8 years, 4 months ago (2012-08-15 11:17:06 UTC) #3
Updated the patch set to correctly maintain the invariants, except when removing
pushed arguments. Here we null the use list and let the allocater repair the
environments (ie, unchanged from before).

Powered by Google App Engine
This is Rietveld 408576698