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

Issue 10824017: Implement deoptimization in the SSA compiler as a parallel move. (Closed)

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

Description

Implement deoptimization in the SSA compiler as a parallel move. R=srdjan@google.com,vegorov@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=9931

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -23 lines) Patch
M runtime/vm/flow_graph_compiler_ia32.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +17 lines, -11 lines 1 comment Download
M runtime/vm/flow_graph_compiler_x64.h View 1 chunk +3 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +18 lines, -11 lines 1 comment Download
M runtime/vm/intermediate_language.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Kevin Millikin (Google)
This turns the sequence of pushes into a sequence of moves and swaps, which will ...
8 years, 5 months ago (2012-07-25 15:51:35 UTC) #1
srdjan
LGTM, nice! http://codereview.chromium.org/10824017/diff/1/runtime/vm/flow_graph_compiler_ia32.cc File runtime/vm/flow_graph_compiler_ia32.cc (right): http://codereview.chromium.org/10824017/diff/1/runtime/vm/flow_graph_compiler_ia32.cc#newcode45 runtime/vm/flow_graph_compiler_ia32.cc:45: const int top_offset = s/int/intptr_t/
8 years, 5 months ago (2012-07-25 17:25:52 UTC) #2
Vyacheslav Egorov (Google)
8 years, 5 months ago (2012-07-26 12:59:56 UTC) #3
http://codereview.chromium.org/10824017/diff/1/runtime/vm/flow_graph_compiler...
File runtime/vm/flow_graph_compiler_x64.cc (right):

http://codereview.chromium.org/10824017/diff/1/runtime/vm/flow_graph_compiler...
runtime/vm/flow_graph_compiler_x64.cc:46: ParsedFunction::kFirstLocalSlotIndex -
values.length();
this should have been actually ParsedFunction::kFirstLocalSlotIndex -
(values.length() - 1)

Because if we have one local we should do Address(EBP, -2 * kWordSize) to get to
it. 

(yep it was incorrect initially as well).

Powered by Google App Engine
This is Rietveld 408576698