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

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

Issue 9568011: Unify Date.fromString and support more Iso 8601. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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
« no previous file with comments | « frog/leg/lib/mockimpl.dart ('k') | frog/lib/date_implementation.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/leg/ssa/codegen.dart
diff --git a/frog/leg/ssa/codegen.dart b/frog/leg/ssa/codegen.dart
index 7921553b4d9fb8a9449943a6aa370a594a6e9e35..89d8c68e55a845e690f76d74566e4fe6d799d3df 100644
--- a/frog/leg/ssa/codegen.dart
+++ b/frog/leg/ssa/codegen.dart
@@ -609,6 +609,9 @@ class SsaCodeGenerator implements HVisitor {
} else if (input is HParameterValue) {
HParameterValue parameter = input;
name = parameterNames[parameter.element];
+ } else if (input is HLoad) {
+ Hload load = input;
+ name = local(input.local);
} else {
assert(!input.generateAtUseSite());
name = temporary(input);
« no previous file with comments | « frog/leg/lib/mockimpl.dart ('k') | frog/lib/date_implementation.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698