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

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

Issue 2466353002: Revert "More functionality in kernel_impact." and "Compute NativeBehavior for foreign functions." (Closed)
Patch Set: Created 4 years, 1 month 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/constructors.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 7c3f125ac0852cb220e35cd2ff53f416b2dd3400..8e2d48b1204226c52e54210e85ecc3eeafc05f50 100644
--- a/pkg/compiler/lib/src/native/enqueue.dart
+++ b/pkg/compiler/lib/src/native/enqueue.dart
@@ -584,7 +584,7 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
*
*/
NativeBehavior resolveJsCall(Send node, ForeignResolver resolver) {
- return NativeBehavior.ofJsCallSend(
+ return NativeBehavior.ofJsCall(
node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
}
@@ -599,8 +599,8 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
*/
NativeBehavior resolveJsEmbeddedGlobalCall(
Send node, ForeignResolver resolver) {
- return NativeBehavior.ofJsEmbeddedGlobalCallSend(
- node, reporter, compiler.coreTypes, resolver);
+ return NativeBehavior.ofJsEmbeddedGlobalCall(
+ node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
}
/**
@@ -613,8 +613,8 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
*
*/
NativeBehavior resolveJsBuiltinCall(Send node, ForeignResolver resolver) {
- return NativeBehavior.ofJsBuiltinCallSend(
- node, reporter, compiler.coreTypes, resolver);
+ return NativeBehavior.ofJsBuiltinCall(
+ node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
}
}
« no previous file with comments | « pkg/compiler/lib/src/native/behavior.dart ('k') | pkg/compiler/lib/src/resolution/constructors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698