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

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

Issue 2646733006: Use entities in native_emitter.dart (Closed)
Patch Set: Created 3 years, 11 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 ce4ad45ac2ac8d5ab5b6aca675b7993bf1c4d50c..ff152319f8de407862507eb536109543e3aa0887 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -4008,7 +4008,7 @@ class SsaBuilder extends ast.Visitor
}
}
- HForeignCode invokeJsInteropFunction(FunctionElement element,
+ HForeignCode invokeJsInteropFunction(MethodElement element,
List<HInstruction> arguments, SourceInformation sourceInformation) {
assert(backend.isJsInterop(element));
nativeEmitter.nativeMethods.add(element);
@@ -4051,7 +4051,7 @@ class SsaBuilder extends ast.Visitor
..sourceInformation = sourceInformation;
}
var target = new HForeignCode(
- js.js.parseForeignJS("${backend.namer.fixedBackendPath(element)}."
+ js.js.parseForeignJS("${backend.namer.fixedBackendMethodPath(element)}."
"${backend.nativeData.getFixedBackendName(element)}"),
commonMasks.dynamicType,
<HInstruction>[]);

Powered by Google App Engine
This is Rietveld 408576698