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

Issue 12179020: Fix for issues 6080 - pass in the Isolate's top context into the stub for invoking dart code from n… (Closed)

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

Description

Fix for issues 6080 - - Read the saved context from the entry frame when straddling across C++ frames while iterating over a stack trace in the debugger. This ensures that the correct context is setup in the ActivationFrame structure in these scenarios (instead of the empty context). - Read the saved context from the caller's frame when iterating over a stack trace in the debugger. The compiler saves the context in the caller frame before invoking closures, we read this saved context when iterating the stack trace. Committed: https://code.google.com/p/dart/source/detail?r=18235

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -52 lines) Patch
M runtime/tests/vm/vm.status View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M runtime/vm/debugger.h View 1 2 3 4 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/debugger.cc View 1 2 3 4 chunks +23 lines, -14 lines 0 comments Download
M runtime/vm/flow_graph_builder.cc View 1 2 3 4 2 chunks +6 lines, -3 lines 0 comments Download
M runtime/vm/parser.h View 1 2 3 5 chunks +14 lines, -0 lines 0 comments Download
M runtime/vm/parser.cc View 1 2 3 11 chunks +34 lines, -12 lines 0 comments Download
M runtime/vm/scopes.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stack_frame.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M runtime/vm/stack_frame.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M runtime/vm/stack_frame_arm.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/stack_frame_ia32.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/stack_frame_mips.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M runtime/vm/stack_frame_x64.cc View 1 2 3 2 chunks +7 lines, -1 line 0 comments Download
M runtime/vm/stub_code_ia32.cc View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 1 2 3 2 chunks +7 lines, -5 lines 0 comments Download
M runtime/vm/symbols.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
siva
7 years, 10 months ago (2013-02-07 06:56:53 UTC) #1
hausner
LGTM with one comment for "optimization". https://chromiumcodereview.appspot.com/12179020/diff/15002/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://chromiumcodereview.appspot.com/12179020/diff/15002/runtime/vm/parser.cc#newcode183 runtime/vm/parser.cc:183: // Allocate a ...
7 years, 10 months ago (2013-02-07 17:00:45 UTC) #2
siva
https://chromiumcodereview.appspot.com/12179020/diff/15002/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://chromiumcodereview.appspot.com/12179020/diff/15002/runtime/vm/parser.cc#newcode183 runtime/vm/parser.cc:183: // Allocate a local variable to save the current ...
7 years, 10 months ago (2013-02-07 22:08:31 UTC) #3
siva
7 years, 10 months ago (2013-02-07 22:18:52 UTC) #4
hausner
7 years, 10 months ago (2013-02-07 22:19:15 UTC) #5
LGTM. This even fixed a little buglet where the expression temp variable was
unnecessarily allocated :)

Powered by Google App Engine
This is Rietveld 408576698