| 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 typedef void Recompile(Element element); | 7 typedef void Recompile(Element element); |
| 8 | 8 |
| 9 class ReturnInfo { | 9 class ReturnInfo { |
| 10 HType returnType; | 10 HType returnType; |
| (...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1495 * into the worklist. | 1495 * into the worklist. |
| 1496 * | 1496 * |
| 1497 * Invariant: [element] must be a declaration element. | 1497 * Invariant: [element] must be a declaration element. |
| 1498 */ | 1498 */ |
| 1499 void eagerRecompile(Element element) { | 1499 void eagerRecompile(Element element) { |
| 1500 assert(invariant(element, element.isDeclaration)); | 1500 assert(invariant(element, element.isDeclaration)); |
| 1501 generatedCode.remove(element); | 1501 generatedCode.remove(element); |
| 1502 generatedBailoutCode.remove(element); | 1502 generatedBailoutCode.remove(element); |
| 1503 compiler.enqueuer.codegen.addToWorkList(element); | 1503 compiler.enqueuer.codegen.addToWorkList(element); |
| 1504 } | 1504 } |
| 1505 |
| 1506 bool isNullImplementation(ClassElement cls) { |
| 1507 return cls == jsNullClass; |
| 1508 } |
| 1505 } | 1509 } |
| OLD | NEW |