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

Side by Side Diff: runtime/vm/object_test.cc

Issue 10928051: Remove more () from getters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/scanner_test.cc » ('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 "platform/assert.h" 5 #include "platform/assert.h"
6 #include "vm/assembler.h" 6 #include "vm/assembler.h"
7 #include "vm/bigint_operations.h" 7 #include "vm/bigint_operations.h"
8 #include "vm/isolate.h" 8 #include "vm/isolate.h"
9 #include "vm/object.h" 9 #include "vm/object.h"
10 #include "vm/object_store.h" 10 #include "vm/object_store.h"
(...skipping 2813 matching lines...) Expand 10 before | Expand all | Expand 10 after
2824 "\n" 2824 "\n"
2825 "void _bar() {\n" 2825 "void _bar() {\n"
2826 " globalVar = null;\n" 2826 " globalVar = null;\n"
2827 "}\n" 2827 "}\n"
2828 "\n" 2828 "\n"
2829 "class MyClass {\n" 2829 "class MyClass {\n"
2830 " MyClass() {\n" 2830 " MyClass() {\n"
2831 " (() => foo())();\n" 2831 " (() => foo())();\n"
2832 " }\n" 2832 " }\n"
2833 "\n" 2833 "\n"
2834 " static get field() {\n" 2834 " static get field {\n"
2835 " _bar();\n" 2835 " _bar();\n"
2836 " }\n" 2836 " }\n"
2837 "\n" 2837 "\n"
2838 " static foo() {\n" 2838 " static foo() {\n"
2839 " fooHelper() {\n" 2839 " fooHelper() {\n"
2840 " field;\n" 2840 " field;\n"
2841 " }\n" 2841 " }\n"
2842 " fooHelper();\n" 2842 " fooHelper();\n"
2843 " }\n" 2843 " }\n"
2844 "}\n" 2844 "}\n"
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after
3108 isolate->heap()->CollectAllGarbage(); 3108 isolate->heap()->CollectAllGarbage();
3109 EXPECT(weak1.key() == Object::null()); 3109 EXPECT(weak1.key() == Object::null());
3110 EXPECT(weak1.value() == Object::null()); 3110 EXPECT(weak1.value() == Object::null());
3111 EXPECT(weak2.key() == Object::null()); 3111 EXPECT(weak2.key() == Object::null());
3112 EXPECT(weak2.value() == Object::null()); 3112 EXPECT(weak2.value() == Object::null());
3113 } 3113 }
3114 3114
3115 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64). 3115 #endif // defined(TARGET_ARCH_IA32) || defined(TARGET_ARCH_X64).
3116 3116
3117 } // namespace dart 3117 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/scanner_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698