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

Unified Diff: runtime/vm/object.cc

Issue 2992783002: [vm] Rename Integer::IsValidUint64 to IsValueInRange for clarity (Closed)
Patch Set: Created 3 years, 5 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 | « runtime/vm/object.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.cc
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc
index 269decc2b7ccaab4b3e1bbfd43c76f344c4b76c3..2cac9f950c190b2a57177b881cffb6db21bb2538 100644
--- a/runtime/vm/object.cc
+++ b/runtime/vm/object.cc
@@ -18162,7 +18162,7 @@ RawInteger* Integer::NewFromUint64(uint64_t value, Heap::Space space) {
return Integer::New(static_cast<int64_t>(value), space);
}
-bool Integer::IsValidUint64(uint64_t value) {
+bool Integer::IsValueInRange(uint64_t value) {
if (FLAG_limit_ints_to_64_bits) {
return (value <= static_cast<uint64_t>(Mint::kMaxValue));
} else {
« no previous file with comments | « runtime/vm/object.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698