| OLD | NEW |
| 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 6539 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6550 lib_url ^= lib.url(); | 6550 lib_url ^= lib.url(); |
| 6551 lib_key = lib_url.Hash(); | 6551 lib_key = lib_url.Hash(); |
| 6552 if (lib_key == key) { | 6552 if (lib_key == key) { |
| 6553 return true; | 6553 return true; |
| 6554 } | 6554 } |
| 6555 } | 6555 } |
| 6556 return false; | 6556 return false; |
| 6557 } | 6557 } |
| 6558 | 6558 |
| 6559 | 6559 |
| 6560 static bool IsPrivate(const String& name) { | 6560 bool Library::IsPrivate(const String& name) { |
| 6561 if (ShouldBePrivate(name)) return true; | 6561 if (ShouldBePrivate(name)) return true; |
| 6562 // Factory names: List._fromLiteral. | 6562 // Factory names: List._fromLiteral. |
| 6563 for (intptr_t i = 1; i < name.Length() - 1; i++) { | 6563 for (intptr_t i = 1; i < name.Length() - 1; i++) { |
| 6564 if (name.CharAt(i) == '.') { | 6564 if (name.CharAt(i) == '.') { |
| 6565 if (name.CharAt(i + 1) == '_') { | 6565 if (name.CharAt(i + 1) == '_') { |
| 6566 return true; | 6566 return true; |
| 6567 } | 6567 } |
| 6568 } | 6568 } |
| 6569 } | 6569 } |
| 6570 return false; | 6570 return false; |
| (...skipping 6684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13255 } | 13255 } |
| 13256 return result.raw(); | 13256 return result.raw(); |
| 13257 } | 13257 } |
| 13258 | 13258 |
| 13259 | 13259 |
| 13260 const char* WeakProperty::ToCString() const { | 13260 const char* WeakProperty::ToCString() const { |
| 13261 return "_WeakProperty"; | 13261 return "_WeakProperty"; |
| 13262 } | 13262 } |
| 13263 | 13263 |
| 13264 } // namespace dart | 13264 } // namespace dart |
| OLD | NEW |