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

Issue 125943002: Use constants from the frame at OSR entry. (Closed)

Created:
6 years, 11 months ago by Florian Schneider
Modified:
6 years, 11 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Use constants from the frame at OSR entry. The code for reserving stack slots for OSR entry values is shared with the code for reserving stack slots for try/catch. It does not handle them optimally (reserving slots above the desired ones and copying them down, instead of directly reserving the desired one). This CL simplifies allocation of spill slots for try-catch as well. This is an rebased version of Kevin's original CL (https://codereview.chromium.org/102173003/). I removed an invalid assertion and removed more code that became unnecessary with this change. R=srdjan@google.com Committed: https://code.google.com/p/dart/source/detail?r=31601

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -41 lines) Patch
M runtime/vm/flow_graph.h View 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph.cc View 1 2 6 chunks +52 lines, -12 lines 0 comments Download
M runtime/vm/flow_graph_allocator.cc View 2 chunks +13 lines, -13 lines 0 comments Download
M runtime/vm/flow_graph_compiler_arm.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_mips.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/intermediate_language.h View 2 chunks +0 lines, -9 lines 0 comments Download
M runtime/vm/intermediate_language.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/visitor.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Florian Schneider
6 years, 11 months ago (2014-01-07 13:20:16 UTC) #1
Kevin Millikin (Google)
I like it. https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc#newcode712 runtime/vm/flow_graph.cc:712: definition = new ParameterInstr(env->length(), graph_entry()); I ...
6 years, 11 months ago (2014-01-07 14:09:19 UTC) #2
srdjan
LGTM with Kevin's comments. https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc#newcode707 runtime/vm/flow_graph.cc:707: Object& value = Object::ZoneHandle(base[-i]); const ...
6 years, 11 months ago (2014-01-07 18:51:20 UTC) #3
Florian Schneider
https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc File runtime/vm/flow_graph.cc (right): https://codereview.chromium.org/125943002/diff/1/runtime/vm/flow_graph.cc#newcode707 runtime/vm/flow_graph.cc:707: Object& value = Object::ZoneHandle(base[-i]); On 2014/01/07 18:51:20, srdjan wrote: ...
6 years, 11 months ago (2014-01-08 10:48:03 UTC) #4
Florian Schneider
6 years, 11 months ago (2014-01-08 11:27:18 UTC) #5
Message was sent while issue was closed.
Committed patchset #3 manually as r31601 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698