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

Unified Diff: runtime/lib/integers.cc

Issue 1873143003: - Use a hash table to canonicalize instances/arrays to avoid having to iterate over a linear list a… (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: address-code-review 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/class_finalizer.cc » ('j') | runtime/vm/object.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.cc
diff --git a/runtime/lib/integers.cc b/runtime/lib/integers.cc
index e75ecab7787a873a7bf2fc5f970a896cf4b2fd0c..3874ae5ad9f1c51f4b2ac0ec59f571e32aa7489f 100644
--- a/runtime/lib/integers.cc
+++ b/runtime/lib/integers.cc
@@ -244,7 +244,7 @@ DEFINE_NATIVE_ENTRY(Integer_fromEnvironment, 3) {
if (result.IsSmi()) {
return result.raw();
}
- return result.CheckAndCanonicalize(NULL);
+ return result.CheckAndCanonicalize(thread, NULL);
}
}
return default_value.raw();
« no previous file with comments | « no previous file | runtime/vm/class_finalizer.cc » ('j') | runtime/vm/object.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698