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

Issue 10855019: Add a function's initial stack check to the IL instruction stream. (Closed)

Created:
8 years, 4 months ago by Kevin Millikin (Google)
Modified:
8 years, 4 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add a function's initial stack check to the IL instruction stream. This stack check needs a GC safepoint. It is simplest to implement that by exposing it as an explicit instruction. R=fschneider@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=10338

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -24 lines) Patch
M runtime/vm/flow_graph_builder.cc View 1 chunk +4 lines, -0 lines 1 comment Download
M runtime/vm/flow_graph_compiler_ia32.cc View 5 chunks +4 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 5 chunks +4 lines, -12 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
This change (temporarily) adds a stack check to leaf routines that was previously skipped. I'll ...
8 years, 4 months ago (2012-08-07 11:03:03 UTC) #1
Florian Schneider
lgtm
8 years, 4 months ago (2012-08-07 13:34:17 UTC) #2
srdjan
8 years, 4 months ago (2012-08-07 19:04:30 UTC) #3
DBC

https://chromiumcodereview.appspot.com/10855019/diff/1/runtime/vm/flow_graph_...
File runtime/vm/flow_graph_builder.cc (right):

https://chromiumcodereview.appspot.com/10855019/diff/1/runtime/vm/flow_graph_...
runtime/vm/flow_graph_builder.cc:2302: // stack check on entry for leaf
routines).
Yes. Why not skip it if IsLeaf()?

Powered by Google App Engine
This is Rietveld 408576698