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

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

Issue 15141004: Fix crash with --no-use-cha: the optimizer expects a concrete type for array creation, not dynamic … (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | 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 6539 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698