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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/object.h" 5 #include "vm/object.h"
6 6
7 #include "include/dart_api.h" 7 #include "include/dart_api.h"
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/cpu.h" 10 #include "vm/cpu.h"
(...skipping 1906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1917 } 1917 }
1918 1918
1919 1919
1920 RawString* Class::PrettyName() const { 1920 RawString* Class::PrettyName() const {
1921 return GeneratePrettyName(); 1921 return GeneratePrettyName();
1922 } 1922 }
1923 1923
1924 1924
1925 RawString* Class::UserVisibleName() const { 1925 RawString* Class::UserVisibleName() const {
1926 #if defined(PRODUCT) 1926 #if defined(PRODUCT)
1927 return raw_ptr()->name_; 1927 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()
1928 #else // defined(PRODUCT) 1928 #else // defined(PRODUCT)
1929 ASSERT(raw_ptr()->user_name_ != String::null()); 1929 ASSERT(raw_ptr()->user_name_ != String::null());
1930 return raw_ptr()->user_name_; 1930 return raw_ptr()->user_name_;
1931 #endif // defined(PRODUCT) 1931 #endif // defined(PRODUCT)
1932 } 1932 }
1933 1933
1934 1934
1935 bool Class::IsInFullSnapshot() const { 1935 bool Class::IsInFullSnapshot() const {
1936 NoSafepointScope no_safepoint; 1936 NoSafepointScope no_safepoint;
1937 return raw_ptr()->library_->ptr()->is_in_fullsnapshot_; 1937 return raw_ptr()->library_->ptr()->is_in_fullsnapshot_;
(...skipping 19533 matching lines...) Expand 10 before | Expand all | Expand 10 after
21471 return UserTag::null(); 21471 return UserTag::null();
21472 } 21472 }
21473 21473
21474 21474
21475 const char* UserTag::ToCString() const { 21475 const char* UserTag::ToCString() const {
21476 const String& tag_label = String::Handle(label()); 21476 const String& tag_label = String::Handle(label());
21477 return tag_label.ToCString(); 21477 return tag_label.ToCString();
21478 } 21478 }
21479 21479
21480 } // namespace dart 21480 } // namespace dart
OLDNEW
« 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