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

Issue 2545923002: Keep only a single active stack trace, enables traces for thrown non-exceptions (Closed)

Created:
4 years ago by Alan Knight
Modified:
4 years ago
Reviewers:
vsm, Jennifer Messerly
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Keep only a single active stack trace, enables traces for thrown non-exceptions BUG= R=jmesserly@google.com Committed: https://github.com/dart-lang/sdk/commit/1ff09b431f19229bfb84e0279851ae09aea60585

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -40 lines) Patch
M pkg/dev_compiler/lib/js/amd/dart_sdk.js View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/common/dart_sdk.js View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/es6/dart_sdk.js View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/js/legacy/dart_sdk.js View 2 chunks +4 lines, -6 lines 0 comments Download
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 3 chunks +3 lines, -3 lines 0 comments Download
M pkg/dev_compiler/test/browser/language_tests.js View 2 chunks +0 lines, -3 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 chunk +5 lines, -10 lines 1 comment Download

Messages

Total messages: 7 (3 generated)
Alan Knight
Just removing the WeakMap seems to work fine and fixes a couple of pending tests. ...
4 years ago (2016-12-01 21:30:47 UTC) #2
Jennifer Messerly
lgtm
4 years ago (2016-12-01 21:40:21 UTC) #3
Alan Knight
Committed patchset #1 (id:1) manually as 1ff09b431f19229bfb84e0279851ae09aea60585 (presubmit successful).
4 years ago (2016-12-01 21:41:20 UTC) #5
vsm
4 years ago (2016-12-02 16:50:13 UTC) #7
Message was sent while issue was closed.
https://codereview.chromium.org/2545923002/diff/1/pkg/dev_compiler/tool/input...
File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart
(right):

https://codereview.chromium.org/2545923002/diff/1/pkg/dev_compiler/tool/input...
pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart:560: $_stack
= new Error();
DBC

How about saving the thrown obj also and sanity checking it's the same in
getError below?

Powered by Google App Engine
This is Rietveld 408576698