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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/js_backend/backend.dart

Issue 133273011: Revert "Rename internal library dart:_collection-dev to dart:_internal." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: reapply after revert. Created 6 years, 11 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
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 part of js_backend; 5 part of js_backend;
6 6
7 const VERBOSE_OPTIMIZER_HINTS = false; 7 const VERBOSE_OPTIMIZER_HINTS = false;
8 8
9 class JavaScriptItemCompilationContext extends ItemCompilationContext { 9 class JavaScriptItemCompilationContext extends ItemCompilationContext {
10 final Set<HInstruction> boundsChecked = new Set<HInstruction>(); 10 final Set<HInstruction> boundsChecked = new Set<HInstruction>();
(...skipping 1551 matching lines...) Expand 10 before | Expand all | Expand 10 after
1562 symbolsUsed.add(name.substring(0, name.length - 1)); 1562 symbolsUsed.add(name.substring(0, name.length - 1));
1563 } 1563 }
1564 } 1564 }
1565 1565
1566 /// Called when [:new Symbol(...):] is seen. 1566 /// Called when [:new Symbol(...):] is seen.
1567 void registerNewSymbol(TreeElements elements) { 1567 void registerNewSymbol(TreeElements elements) {
1568 } 1568 }
1569 1569
1570 /// Called when resolving the `Symbol` constructor. 1570 /// Called when resolving the `Symbol` constructor.
1571 void registerSymbolConstructor(TreeElements elements) { 1571 void registerSymbolConstructor(TreeElements elements) {
1572 // Make sure that collection_dev.Symbol.validated is registered. 1572 // Make sure that _internals.Symbol.validated is registered.
1573 assert(compiler.symbolValidatedConstructor != null); 1573 assert(compiler.symbolValidatedConstructor != null);
1574 enqueueInResolution(compiler.symbolValidatedConstructor, elements); 1574 enqueueInResolution(compiler.symbolValidatedConstructor, elements);
1575 } 1575 }
1576 1576
1577 /// Should [element] (a getter) be retained for reflection? 1577 /// Should [element] (a getter) be retained for reflection?
1578 bool shouldRetainGetter(Element element) => isNeededForReflection(element); 1578 bool shouldRetainGetter(Element element) => isNeededForReflection(element);
1579 1579
1580 /// Should [element] (a setter) be retained for reflection? 1580 /// Should [element] (a setter) be retained for reflection?
1581 bool shouldRetainSetter(Element element) => isNeededForReflection(element); 1581 bool shouldRetainSetter(Element element) => isNeededForReflection(element);
1582 1582
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1873 copy(constant.values); 1873 copy(constant.values);
1874 copy(constant.protoValue); 1874 copy(constant.protoValue);
1875 copy(constant); 1875 copy(constant);
1876 } 1876 }
1877 1877
1878 void visitConstructed(ConstructedConstant constant) { 1878 void visitConstructed(ConstructedConstant constant) {
1879 copy(constant.fields); 1879 copy(constant.fields);
1880 copy(constant); 1880 copy(constant);
1881 } 1881 }
1882 } 1882 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/compiler.dart ('k') | sdk/lib/_internal/lib/collection_dev_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698