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

Unified Diff: runtime/lib/math_patch.dart

Issue 10883071: - Change "static final" to "static const" in the runtime/ directory. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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: runtime/lib/math_patch.dart
===================================================================
--- runtime/lib/math_patch.dart (revision 11416)
+++ runtime/lib/math_patch.dart (working copy)
@@ -75,12 +75,12 @@
}
// Constants used by the algorithm or masking.
- static final _MASK_32 = (1 << 32) - 1;
- static final _MASK_64 = (1 << 64) - 1;
- static final _POW2_32 = 1 << 32;
- static final _POW2_53_D = 1.0 * (1 << 53);
+ static const _MASK_32 = (1 << 32) - 1;
+ static const _MASK_64 = (1 << 64) - 1;
+ static const _POW2_32 = 1 << 32;
+ static const _POW2_53_D = 1.0 * (1 << 53);
- static final _A = 0xffffda61;
+ static const _A = 0xffffda61;
// Use a singleton Random object to get a new seed if no seed was passed.
static var _prng = null;

Powered by Google App Engine
This is Rietveld 408576698