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

Unified Diff: sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart

Issue 12258008: Revert "New implementation of {,Linked}Hash{Set,Map}." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart b/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
index 423bdc9e5fefbd6d5fc90bdc31abaf1826b6275c..34f960d2dda68ea940bc8a3223ae16b5bf1cbab4 100644
--- a/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
+++ b/sdk/lib/_internal/compiler/implementation/ssa/variable_allocator.dart
@@ -299,8 +299,7 @@ class SsaLiveIntervalBuilder extends HBaseVisitor {
int lastId = env.loopMarkers[header];
// Update all instructions that are liveIns in [header] to have a
// range that covers the loop.
- new Map.from(env.liveInstructions).forEach((HInstruction instruction,
- int id) {
+ env.liveInstructions.forEach((HInstruction instruction, int id) {
LiveInterval range = env.liveIntervals.putIfAbsent(
instruction, () => new LiveInterval());
range.loopUpdate(env.startId, lastId);
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/source_map_builder.dart ('k') | sdk/lib/collection/collection.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698