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

Unified Diff: runtime/vm/object.cc

Issue 1728663002: Skip tests which use dart:mirrors in product mode (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add-one-more-test Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index aea7d1f6e31e48b7f8a15d8863559c72508260a0..e79fb9da5f3099ad6a696f4ac9e527e872aa608a 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -1924,7 +1924,7 @@ RawString* Class::PrettyName() const {
RawString* Class::UserVisibleName() const {
#if defined(PRODUCT)
- return raw_ptr()->name_;
+ return GenerateUserVisibleName();
Ivan Posva 2016/02/23 18:34:59 Any particular reason why you disable shaking of t
siva 2016/02/23 19:06:42 The following construct obj.runtimeType.toString()
#else // defined(PRODUCT)
ASSERT(raw_ptr()->user_name_ != String::null());
return raw_ptr()->user_name_;
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698