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

Unified Diff: dart/frog/leg/ssa/builder.dart

Issue 9417031: Mock up all remaining core library implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: dart/frog/leg/ssa/builder.dart
diff --git a/dart/frog/leg/ssa/builder.dart b/dart/frog/leg/ssa/builder.dart
index 192ead9bcd266177386e888ee165ae53c73ad0a3..39fb7b83163839b35165fe816b6aae307ed96599 100644
--- a/dart/frog/leg/ssa/builder.dart
+++ b/dart/frog/leg/ssa/builder.dart
@@ -320,7 +320,7 @@ class LocalsHandler {
if (isAccessedDirectly(element)) {
if (directLocals[element] == null) {
builder.compiler.internalError(
- "Could not find value", node: element.parseNode(builder.compiler));
+ "Could not find value", element: element);
ngeoffray 2012/02/17 10:03:50 This is exactly what we talked about with Florian:
floitsch 2012/02/17 10:40:40 While you are it: with "Cannot find value" it fits
ahe 2012/02/17 16:26:46 Done.
}
return directLocals[element];
} else if (isStoredInClosureField(element)) {

Powered by Google App Engine
This is Rietveld 408576698