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

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

Issue 1980573003: fix all instances of "the the" (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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/vm/intermediate_language.h ('k') | runtime/vm/parser.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 "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 9637 matching lines...) Expand 10 before | Expand all | Expand 10 after
9648 9648
9649 9649
9650 RawObject* Library::ResolveName(const String& name) const { 9650 RawObject* Library::ResolveName(const String& name) const {
9651 Object& obj = Object::Handle(); 9651 Object& obj = Object::Handle();
9652 if (FLAG_use_lib_cache && LookupResolvedNamesCache(name, &obj)) { 9652 if (FLAG_use_lib_cache && LookupResolvedNamesCache(name, &obj)) {
9653 return obj.raw(); 9653 return obj.raw();
9654 } 9654 }
9655 obj = LookupLocalObject(name); 9655 obj = LookupLocalObject(name);
9656 if (!obj.IsNull()) { 9656 if (!obj.IsNull()) {
9657 // Names that are in this library's dictionary and are unmangled 9657 // Names that are in this library's dictionary and are unmangled
9658 // are not cached. This reduces the size of the the cache. 9658 // are not cached. This reduces the size of the cache.
9659 return obj.raw(); 9659 return obj.raw();
9660 } 9660 }
9661 String& accessor_name = String::Handle(Field::LookupGetterSymbol(name)); 9661 String& accessor_name = String::Handle(Field::LookupGetterSymbol(name));
9662 if (!accessor_name.IsNull()) { 9662 if (!accessor_name.IsNull()) {
9663 obj = LookupLocalObject(accessor_name); 9663 obj = LookupLocalObject(accessor_name);
9664 } 9664 }
9665 if (obj.IsNull()) { 9665 if (obj.IsNull()) {
9666 accessor_name = Field::LookupSetterSymbol(name); 9666 accessor_name = Field::LookupSetterSymbol(name);
9667 if (!accessor_name.IsNull()) { 9667 if (!accessor_name.IsNull()) {
9668 obj = LookupLocalObject(accessor_name); 9668 obj = LookupLocalObject(accessor_name);
(...skipping 12788 matching lines...) Expand 10 before | Expand all | Expand 10 after
22457 return UserTag::null(); 22457 return UserTag::null();
22458 } 22458 }
22459 22459
22460 22460
22461 const char* UserTag::ToCString() const { 22461 const char* UserTag::ToCString() const {
22462 const String& tag_label = String::Handle(label()); 22462 const String& tag_label = String::Handle(label());
22463 return tag_label.ToCString(); 22463 return tag_label.ToCString();
22464 } 22464 }
22465 22465
22466 } // namespace dart 22466 } // namespace dart
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698