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

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

Issue 1146003004: dart2js: Properly construct rti ast templates. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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/js_backend/runtime_types.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 caff14a5c4939db59614fe90b186142d52a80ae0..f210452a62ca79f4c87100395718d62112933112 100644
--- a/pkg/compiler/lib/src/ssa/builder.dart
+++ b/pkg/compiler/lib/src/ssa/builder.dart
@@ -3564,7 +3564,7 @@ class SsaBuilder extends NewResolvedVisitor {
templates.add(rti.getTypeRepresentationWithPlaceholders(argument, (variable) {
floitsch 2015/05/20 13:48:18 long line.
herhut 2015/05/20 14:27:59 Done.
HInstruction runtimeType = addTypeVariableReference(variable);
inputs.add(runtimeType);
- }));
+ }, firstPlaceholderIndex : inputs.length));
floitsch 2015/05/20 13:48:18 No space after "firstPlaceholderIndex". I would p
herhut 2015/05/20 14:27:59 This constructs a template with holes and the corr
}
// TODO(sra): This is a fresh template each time. We can't let the
// template manager build them.
« no previous file with comments | « pkg/compiler/lib/src/js_backend/runtime_types.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698