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

Unified Diff: pkg/compiler/lib/src/ssa/builder.dart

Issue 954253002: dart2js: add compiler builtins to the core-runtime. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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: pkg/compiler/lib/src/ssa/builder.dart
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart
index c1d5d55f95748982b51a36bdcc6e7dbdfeea6726..f7a0601889a73a8ba36d8b2be03a1bc88970995d 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -3753,6 +3753,10 @@ class SsaBuilder extends ResolvedVisitor {
argument, string.dartString.slowToString())));
}
+ void handleForeignJsCompilerMacro(ast.Send node) {
+ throw new UnimplementedError("handleForeignJsCompilerMacro");
+ }
+
void handleForeignJsEmbeddedGlobal(ast.Send node) {
List<ast.Node> arguments = node.arguments.toList();
ast.Node globalNameNode;
@@ -3989,6 +3993,8 @@ class SsaBuilder extends ResolvedVisitor {
handleForeignJsGetName(node);
} else if (name == 'JS_EMBEDDED_GLOBAL') {
handleForeignJsEmbeddedGlobal(node);
+ } else if (name == 'JS_COMPILER_MACRO') {
+ handleForeignJsCompilerMacro(node);
} else if (name == 'JS_GET_FLAG') {
handleForeingJsGetFlag(node);
} else if (name == 'JS_EFFECT') {

Powered by Google App Engine
This is Rietveld 408576698