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

Unified Diff: pkg/compiler/lib/src/native/enqueue.dart

Issue 1091613003: Revert "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, 8 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 | « pkg/compiler/lib/src/native/behavior.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/native/enqueue.dart
diff --git a/pkg/compiler/lib/src/native/enqueue.dart b/pkg/compiler/lib/src/native/enqueue.dart
index 7d698b65f489d168b40cfe942e79d3d48d5b20aa..a7c7af93565c8b2a6a2d561e566748be15049e51 100644
--- a/pkg/compiler/lib/src/native/enqueue.dart
+++ b/pkg/compiler/lib/src/native/enqueue.dart
@@ -54,18 +54,6 @@ class NativeEnqueuer {
// TODO(sra): The entry from codegen will not have a resolver.
void registerJsEmbeddedGlobalCall(Send node, ResolverVisitor resolver) {}
- /**
- * Handles JS-compiler builtin calls, which can be an instantiation point for
- * types.
- *
- * For example, the following code instantiates and returns a String class
- *
- * JS_BUILTIN('String', 'int2string', 0)
- *
- */
- // TODO(sra): The entry from codegen will not have a resolver.
- void registerJsBuiltinCall(Send node, ResolverVisitor resolver) {}
-
/// Emits a summary information using the [log] function.
void logSummary(log(message)) {}
@@ -504,14 +492,6 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
flushQueue();
}
- void registerJsBuiltinCall(Send node, ResolverVisitor resolver) {
- NativeBehavior behavior =
- NativeBehavior.ofJsBuiltinCall(node, compiler, resolver);
- processNativeBehavior(behavior, node);
- nativeBehaviors[node] = behavior;
- flushQueue();
- }
-
NativeBehavior getNativeBehaviorOf(Send node) => nativeBehaviors[node];
processNativeBehavior(NativeBehavior behavior, cause) {
« no previous file with comments | « pkg/compiler/lib/src/native/behavior.dart ('k') | pkg/compiler/lib/src/resolution/members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698