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

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

Issue 2826673002: Remove JavaScriptBackend from ClosedWorldBase (Closed)
Patch Set: Created 3 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
Index: pkg/compiler/lib/src/ssa/codegen.dart
diff --git a/pkg/compiler/lib/src/ssa/codegen.dart b/pkg/compiler/lib/src/ssa/codegen.dart
index 1af507b12dca898ff8eb1562b81f9fd4fad29156..b016d2886a81ee06a23fa3c04643c76f22327fd1 100644
--- a/pkg/compiler/lib/src/ssa/codegen.dart
+++ b/pkg/compiler/lib/src/ssa/codegen.dart
@@ -1761,8 +1761,8 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
var isolate = new js.VariableUse(
_namer.globalObjectForLibrary(_commonElements.interceptorsLibrary));
Selector selector = node.selector;
- js.Name methodName =
- _oneShotInterceptorData.registerOneShotInterceptor(selector, _namer);
+ js.Name methodName = _oneShotInterceptorData.registerOneShotInterceptor(
+ selector, _namer, _closedWorld);
push(js
.propertyCall(isolate, methodName, arguments)
.withSourceInformation(node.sourceInformation));

Powered by Google App Engine
This is Rietveld 408576698