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

Issue 10945025: Remove check for stack overflow on entry to an inlined function. (Closed)

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

Description

Remove check for stack overflow on entry to an inlined function. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=12556

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

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

Messages

Total messages: 2 (0 generated)
zerny-google
Another small change.
8 years, 3 months ago (2012-09-19 11:53:17 UTC) #1
Kevin Millikin (Google)
8 years, 3 months ago (2012-09-19 12:01:17 UTC) #2
LGTM but it needs a comment to prevent someone (me?) from forgetting about the
side effect and deleting the "dead" definition.

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

https://codereview.chromium.org/10945025/diff/1/runtime/vm/flow_graph_builder...
runtime/vm/flow_graph_builder.cc:2608: Definition* check = new
CheckStackOverflowInstr(function.token_pos());
Please add a comment that we allocate the instruction in all cases to assign a
deopt id to it, but discard the instruction if inlining.

Powered by Google App Engine
This is Rietveld 408576698