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

Issue 12225031: Minor cleanup of activation frame creation code. Get the code object while iterating the frames as … (Closed)

Created:
7 years, 10 months ago by siva
Modified:
7 years, 10 months ago
Reviewers:
hausner
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Minor cleanup of activation frame creation code. Get the code object while iterating the frames as that is way faster than doing a code lookup later. Committed: https://code.google.com/p/dart/source/detail?r=18162

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -47 lines) Patch
M vm/debugger.h View 1 2 chunks +12 lines, -6 lines 0 comments Download
M vm/debugger.cc View 1 12 chunks +19 lines, -41 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
siva
7 years, 10 months ago (2013-02-06 00:17:00 UTC) #1
hausner
LGTM w/comments https://codereview.chromium.org/12225031/diff/1/vm/debugger.cc File vm/debugger.cc (right): https://codereview.chromium.org/12225031/diff/1/vm/debugger.cc#newcode155 vm/debugger.cc:155: const Code& ActivationFrame::DartCode() { As discussed offline, ...
7 years, 10 months ago (2013-02-06 01:22:15 UTC) #2
siva
7 years, 10 months ago (2013-02-06 01:41:43 UTC) #3
https://codereview.chromium.org/12225031/diff/1/vm/debugger.cc
File vm/debugger.cc (right):

https://codereview.chromium.org/12225031/diff/1/vm/debugger.cc#newcode155
vm/debugger.cc:155: const Code& ActivationFrame::DartCode() {
On 2013/02/06 01:22:15, hausner wrote:
> As discussed offline, this can now be a simple accessor code().

Done.

https://codereview.chromium.org/12225031/diff/1/vm/debugger.cc#newcode161
vm/debugger.cc:161: const Function& ActivationFrame::DartFunction() {
On 2013/02/06 01:22:15, hausner wrote:
> Ditto, turn into function().

Done.

Powered by Google App Engine
This is Rietveld 408576698