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

Unified Diff: runtime/lib/integers.cc

Issue 810593008: Mark mutator methods of canonical constants as invisible to reflective access. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 11 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/lib/bigint.dart ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/integers.cc
===================================================================
--- runtime/lib/integers.cc (revision 42724)
+++ runtime/lib/integers.cc (working copy)
@@ -440,6 +440,7 @@
DEFINE_NATIVE_ENTRY(Bigint_setDigits, 2) {
const Bigint& bigint = Bigint::CheckedHandle(arguments->NativeArgAt(0));
const TypedData& digits = TypedData::CheckedHandle(arguments->NativeArgAt(1));
+ ASSERT(!digits.IsNull());
bigint.set_digits(digits);
return Object::null();
}
« no previous file with comments | « runtime/lib/bigint.dart ('k') | runtime/vm/method_recognizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698