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 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 2430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2441 } | 2441 } |
2442 } | 2442 } |
2443 | 2443 |
2444 /// Records that [constant] is used by the element behind [registry]. | 2444 /// Records that [constant] is used by the element behind [registry]. |
2445 class Dependency { | 2445 class Dependency { |
2446 final ConstantValue constant; | 2446 final ConstantValue constant; |
2447 final Element annotatedElement; | 2447 final Element annotatedElement; |
2448 | 2448 |
2449 const Dependency(this.constant, this.annotatedElement); | 2449 const Dependency(this.constant, this.annotatedElement); |
2450 } | 2450 } |
OLD | NEW |