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

Unified Diff: lib/compiler/implementation/ssa/codegen.dart

Issue 10875006: Remove a few warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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: lib/compiler/implementation/ssa/codegen.dart
diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
index 7b4a93ce47fca89c76b69b793ed599374cccf613..e1fa3e0dc2309ae0273864b2b6ad78f098e27b85 100644
--- a/lib/compiler/implementation/ssa/codegen.dart
+++ b/lib/compiler/implementation/ssa/codegen.dart
@@ -27,7 +27,8 @@ class SsaCodeGeneratorTask extends CompilerTask {
CodeBuffer generateMethod(WorkItem work, HGraph graph) {
return measure(() {
- HTypeMap types = work.compilationContext.types;
+ JavaScriptItemCompilationContext context = work.compilationContext;
+ HTypeMap types = context.types;
graph.exit.predecessors.forEach((block) {
assert(block.last is HGoto || block.last is HReturn);
if (block.last is HReturn) {
« no previous file with comments | « lib/compiler/implementation/scanner/partial_parser.dart ('k') | lib/compiler/implementation/tools/mini_parser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698