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

Issue 241993004: Mark private functions in dart:* that are native or constructors is not visible (omitted from stack… (Closed)

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

Description

Mark private functions in dart:* that are native or constructors as not visible (omitted from stack traces and ineligible for reflective enumeration or invocation). Ensure invocation_fuzz_test doesn't exit prematurely. Also visit instance methods defined in superclasses. Complete blacklist so invocation_fuzz_test passes on the VM. B=http://dartbug.com/15274 R=iposva@google.com Committed: https://code.google.com/p/dart/source/detail?r=35234

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -216 lines) Patch
M runtime/lib/mirrors.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/object.h View 1 chunk +7 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 2 chunks +3 lines, -38 lines 0 comments Download
M runtime/vm/object_test.cc View 1 2 1 chunk +9 lines, -10 lines 0 comments Download
M runtime/vm/parser.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/parser.cc View 4 chunks +18 lines, -0 lines 0 comments Download
M runtime/vm/raw_object.h View 1 chunk +1 line, -0 lines 0 comments Download
M tests/lib/lib.status View 2 chunks +2 lines, -3 lines 0 comments Download
A + tests/lib/mirrors/invocation_fuzz_test.dart View 1 6 chunks +55 lines, -28 lines 0 comments Download
D tests/lib/mirrors/invoke_natives_fuzz_test.dart View 1 chunk +0 lines, -135 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
rmacnak
FWIW, this takes ~2/3 as much time as --compile_all.
6 years, 8 months ago (2014-04-18 22:07:08 UTC) #1
rmacnak
FWIW, this takes ~2/3 as much time as --compile_all.
6 years, 8 months ago (2014-04-18 22:07:08 UTC) #2
Ivan Posva
LGTM -ip https://codereview.chromium.org/241993004/diff/50001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/241993004/diff/50001/runtime/vm/parser.cc#newcode4092 runtime/vm/parser.cc:4092: if (library_.is_dart_scheme() && library_.IsPrivate(ctor_name)) { Please clarify ...
6 years, 8 months ago (2014-04-21 21:18:21 UTC) #3
rmacnak
Adjusted stack format test, PTAL. https://codereview.chromium.org/241993004/diff/50001/runtime/vm/parser.cc File runtime/vm/parser.cc (right): https://codereview.chromium.org/241993004/diff/50001/runtime/vm/parser.cc#newcode4092 runtime/vm/parser.cc:4092: if (library_.is_dart_scheme() && library_.IsPrivate(ctor_name)) ...
6 years, 8 months ago (2014-04-21 23:13:08 UTC) #4
Ivan Posva
Still LGTM -ip
6 years, 8 months ago (2014-04-21 23:21:58 UTC) #5
rmacnak
6 years, 8 months ago (2014-04-21 23:24:41 UTC) #6
Message was sent while issue was closed.
Committed patchset #3 manually as r35234 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698