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

Unified Diff: runtime/vm/hash_table.h

Issue 1876363003: - Ensure that we do not enter symbols twice: Set the canonical bit (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | runtime/vm/symbols.cc » ('j') | runtime/vm/symbols.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/hash_table.h
diff --git a/runtime/vm/hash_table.h b/runtime/vm/hash_table.h
index c1622322137a2364d095f335ee86e41403ec263d..398335f0bd129d85d88eb6188eb92798fc79ebc1 100644
--- a/runtime/vm/hash_table.h
+++ b/runtime/vm/hash_table.h
@@ -636,7 +636,7 @@ class HashSet : public BaseIterTable {
BaseIterTable::InsertKey(entry, key);
return key.raw();
} else {
- return BaseIterTable::GetPayload(entry, 0);
Florian Schneider 2016/04/12 05:49:03 Oops. Good catch.
+ return BaseIterTable::GetKey(entry);
}
}
« no previous file with comments | « no previous file | runtime/vm/symbols.cc » ('j') | runtime/vm/symbols.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698