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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart

Issue 50313007: Implement dynamic function checks. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r30897. Created 7 years 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 side-by-side diff with in-line comments
Download patch
Index: dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
index 86cdabd8b1a3a702a1aeae36ef2c30dd13c396f2..391f51bd02d95d4342912555ba239afe6d2f55c3 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/ir/ir_builder.dart
@@ -116,7 +116,8 @@ class IrBuilderTask extends CompilerTask {
void unlinkTreeAndToken(element) {
element.beginToken.next = null;
- element.cachedNode = null;
+ // TODO(lry): Mark [element] so that parseNode will fail an assertion.
+ // element.cachedNode = null;
}
SourceFile elementSourceFile(Element element) {

Powered by Google App Engine
This is Rietveld 408576698