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

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

Issue 9418045: Support for native in leg, and start moving native tests to a specific test suite. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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: frog/leg/ssa/builder.dart
===================================================================
--- frog/leg/ssa/builder.dart (revision 4390)
+++ frog/leg/ssa/builder.dart (working copy)
@@ -482,7 +482,7 @@
if (scopeData == null) return;
if (scopeData.hasBoxedLoopVariables()) {
updateCaptureBox(scopeData.boxElement, scopeData.boxedLoopVariables);
- }
+ }
}
void endLoop(HBasicBlock loopEntry) {
@@ -1566,6 +1566,9 @@
push(new HForeign(
new SourceString('\$0.$name'), const SourceString('bool'), inputs));
break;
+ case "native":
+ native.handleSsaNative(this, node);
+ break;
default:
throw "Unknown foreign: ${node.selector}";
}

Powered by Google App Engine
This is Rietveld 408576698