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

Issue 10823131: Add deopt info to code object and print it (Closed)

Created:
8 years, 4 months ago by srdjan
Modified:
8 years, 4 months ago
Reviewers:
siva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add deopt info to code object and print it. Still missing is the code to 'execute' the deopt instructions and thus deoptimize. Committed: https://code.google.com/p/dart/source/detail?r=10308

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 22

Patch Set 7 : #

Patch Set 8 : #

Total comments: 2

Patch Set 9 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -36 lines) Patch
M runtime/vm/compiler.cc View 1 2 3 4 5 6 7 4 chunks +24 lines, -4 lines 0 comments Download
A runtime/vm/deopt_instructions.h View 1 2 3 4 5 6 1 chunk +90 lines, -0 lines 0 comments Download
A runtime/vm/deopt_instructions.cc View 1 2 3 4 5 6 7 8 1 chunk +265 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler.cc View 1 2 3 4 5 6 7 8 5 chunks +47 lines, -1 line 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_ia32.cc View 1 2 3 4 5 6 7 2 chunks +8 lines, -5 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -0 lines 0 comments Download
M runtime/vm/flow_graph_compiler_x64.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -5 lines 0 comments Download
M runtime/vm/intermediate_language.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M runtime/vm/locations.h View 1 2 3 4 5 6 7 3 chunks +12 lines, -11 lines 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 5 6 7 3 chunks +11 lines, -8 lines 0 comments Download
M runtime/vm/vm_sources.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
srdjan
8 years, 4 months ago (2012-08-03 21:18:26 UTC) #1
siva
https://chromiumcodereview.appspot.com/10823131/diff/11004/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): https://chromiumcodereview.appspot.com/10823131/diff/11004/runtime/vm/compiler.cc#newcode329 runtime/vm/compiler.cc:329: OS::Print("\n}\n"); Could you move the \n to %s\n" above ...
8 years, 4 months ago (2012-08-04 01:21:50 UTC) #2
srdjan
Please take another look. (Also includes a small fix in intermediate_language.h) https://chromiumcodereview.appspot.com/10823131/diff/11004/runtime/vm/compiler.cc File runtime/vm/compiler.cc (right): ...
8 years, 4 months ago (2012-08-06 20:09:04 UTC) #3
siva
LGTM. Thanks. https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_graph_compiler.cc#newcode274 runtime/vm/flow_graph_compiler.cc:274: DeoptInfo::Handle(deopt_stubs_[i]->CreateDeoptInfo(this)); The handle could be created outside ...
8 years, 4 months ago (2012-08-06 20:32:24 UTC) #4
srdjan
https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_graph_compiler.cc File runtime/vm/flow_graph_compiler.cc (right): https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_graph_compiler.cc#newcode274 runtime/vm/flow_graph_compiler.cc:274: DeoptInfo::Handle(deopt_stubs_[i]->CreateDeoptInfo(this)); On 2012/08/06 20:32:24, asiva wrote: > The handle ...
8 years, 4 months ago (2012-08-06 20:39:47 UTC) #5
srdjan
8 years, 4 months ago (2012-08-06 20:39:48 UTC) #6
https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_gra...
File runtime/vm/flow_graph_compiler.cc (right):

https://chromiumcodereview.appspot.com/10823131/diff/5006/runtime/vm/flow_gra...
runtime/vm/flow_graph_compiler.cc:274:
DeoptInfo::Handle(deopt_stubs_[i]->CreateDeoptInfo(this));
On 2012/08/06 20:32:24, asiva wrote:
> The handle could be created outside the loop?

Done.

Powered by Google App Engine
This is Rietveld 408576698