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

Issue 342473006: Don't add the catch frame at a rethrow to the stacktrace. (Closed)

Created:
6 years, 6 months ago by rmacnak
Modified:
6 years, 6 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Don't add the catch frame at a rethrow to the stacktrace. R=asiva@google.com Committed: https://code.google.com/p/dart/source/detail?r=37712

Patch Set 1 #

Patch Set 2 : +rethrow tests #

Patch Set 3 : #

Patch Set 4 : move skipping logic to stacktrace::append #

Total comments: 7

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+330 lines, -11 lines) Patch
M runtime/vm/exceptions.cc View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M runtime/vm/object.h View 1 2 3 4 1 chunk +3 lines, -1 line 0 comments Download
M runtime/vm/object.cc View 1 2 3 4 2 chunks +13 lines, -6 lines 0 comments Download
M tests/language/language_dart2js.status View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A tests/language/stacktrace_rethrow_error_test.dart View 1 2 1 chunk +155 lines, -0 lines 0 comments Download
A tests/language/stacktrace_rethrow_nonerror_test.dart View 1 2 1 chunk +148 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
ParserCombinators +11% x64 +13% ia32 +22% ARM
6 years, 6 months ago (2014-06-18 20:38:00 UTC) #1
rmacnak
Took out the optimization.
6 years, 6 months ago (2014-06-20 22:27:34 UTC) #2
rmacnak
As discussed offline, moved logic to skip the first frame to Stacktrace::Append.
6 years, 6 months ago (2014-06-25 21:49:24 UTC) #3
siva
LGTM with some comments. https://codereview.chromium.org/342473006/diff/60001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/342473006/diff/60001/runtime/vm/exceptions.cc#newcode441 runtime/vm/exceptions.cc:441: } else { How about ...
6 years, 6 months ago (2014-06-25 22:46:12 UTC) #4
rmacnak
https://codereview.chromium.org/342473006/diff/60001/runtime/vm/exceptions.cc File runtime/vm/exceptions.cc (right): https://codereview.chromium.org/342473006/diff/60001/runtime/vm/exceptions.cc#newcode447 runtime/vm/exceptions.cc:447: const intptr_t offset = is_rethrow ? 1 : 0; ...
6 years, 6 months ago (2014-06-25 23:00:43 UTC) #5
rmacnak
6 years, 6 months ago (2014-06-25 23:02:03 UTC) #6
Message was sent while issue was closed.
Committed patchset #5 manually as r37712 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698