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

Issue 10982088: Remove deoptimization index PC descriptors. (Closed)

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

Description

Remove deoptimization index PC descriptors. Put the PC (offset) of the deoptimization point and the deoptimization reason in the DeoptInfo table. The table entries are now triples of (PC offset, info, reason). R=srdjan@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=13056

Patch Set 1 #

Patch Set 2 : Remove code from an unrelated change. #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -178 lines) Patch
M runtime/vm/code_descriptors.h View 1 chunk +0 lines, -4 lines 0 comments Download
M runtime/vm/code_descriptors.cc View 1 chunk +0 lines, -15 lines 1 comment Download
M runtime/vm/code_generator.h View 1 chunk +41 lines, -38 lines 0 comments Download
M runtime/vm/code_generator.cc View 5 chunks +38 lines, -50 lines 3 comments Download
M runtime/vm/compiler.cc View 1 1 chunk +12 lines, -3 lines 2 comments Download
M runtime/vm/flow_graph_compiler.h View 2 chunks +11 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 chunks +12 lines, -8 lines 2 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/vm/object.h View 3 chunks +0 lines, -7 lines 0 comments Download
M runtime/vm/object.cc View 1 6 chunks +11 lines, -34 lines 0 comments Download
M runtime/vm/stack_frame.cc View 1 chunk +0 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Kevin Millikin (Google)
This eliminates a level of indirection but doesn't save much space. It enables compaction of ...
8 years, 2 months ago (2012-09-28 11:26:37 UTC) #1
srdjan
LGTM with comments http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_descriptors.cc File runtime/vm/code_descriptors.cc (left): http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_descriptors.cc#oldcode34 runtime/vm/code_descriptors.cc:34: data.try_index = deopt_array_index; Please add and ...
8 years, 2 months ago (2012-09-28 21:00:26 UTC) #2
Kevin Millikin (Google)
http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_generator.cc File runtime/vm/code_generator.cc (right): http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_generator.cc#newcode1463 runtime/vm/code_generator.cc:1463: } On 2012/09/28 21:00:26, srdjan wrote: > Iniitialize deopt_info ...
8 years, 2 months ago (2012-10-01 09:38:56 UTC) #3
srdjan
8 years, 2 months ago (2012-10-01 17:18:28 UTC) #4
http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_generator.cc
File runtime/vm/code_generator.cc (right):

http://codereview.chromium.org/10982088/diff/2001/runtime/vm/code_generator.c...
runtime/vm/code_generator.cc:1463: }
On 2012/10/01 09:38:56, kmillikin wrote:
> On 2012/09/28 21:00:26, srdjan wrote:
> > Iniitialize deopt_info and deopt_reason to something reasonable if the info
is
> > not found.
> 
> OK, done.

Please upload your changes, before submitting, so that I can see them. Thanks!

Powered by Google App Engine
This is Rietveld 408576698