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

Unified Diff: pkg/compiler/lib/src/js_backend/backend.dart

Issue 2686533002: Refactor computation of NativeBehavior. (Closed)
Patch Set: Rebased Created 3 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/js_backend/backend.dart
diff --git a/pkg/compiler/lib/src/js_backend/backend.dart b/pkg/compiler/lib/src/js_backend/backend.dart
index 49bd7e492765780604009377d8ff126ed02400af..7659a3f92da44d4f97162c1afbaf15c43f8d3e34 100644
--- a/pkg/compiler/lib/src/js_backend/backend.dart
+++ b/pkg/compiler/lib/src/js_backend/backend.dart
@@ -783,8 +783,8 @@ class JavaScriptBackend extends Target {
if (isNative(element)) {
native.NativeBehavior fieldLoadBehavior =
native.NativeBehavior.ofFieldElementLoad(element, compiler);
- native.NativeBehavior fieldStoreBehavior = native.NativeBehavior
- .ofFieldElementStore(element, compiler.resolution);
+ native.NativeBehavior fieldStoreBehavior =
+ native.NativeBehavior.ofFieldElementStore(element, compiler);
nativeData.setNativeFieldLoadBehavior(element, fieldLoadBehavior);
nativeData.setNativeFieldStoreBehavior(element, fieldStoreBehavior);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/kernel/world_builder.dart » ('j') | pkg/compiler/lib/src/native/behavior.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698