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

Unified Diff: pkg/fixnum/int64.dart

Issue 10919024: - Change "static final" to "static const" in the (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
« no previous file with comments | « pkg/fixnum/int32.dart ('k') | pkg/fixnum/test/int_64_vm_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/int64.dart
===================================================================
--- pkg/fixnum/int64.dart (revision 11633)
+++ pkg/fixnum/int64.dart (working copy)
@@ -20,13 +20,13 @@
// instances before they are exposed to external code.
// Note: several functions require _BITS == 22 -- do not change this value.
- static final int _BITS = 22;
- static final int _BITS01 = 44; // 2 * _BITS
- static final int _BITS2 = 20; // 64 - _BITS01
- static final int _MASK = 4194303; // (1 << _BITS) - 1
- static final int _MASK_2 = 1048575; // (1 << _BITS2) - 1
- static final int _SIGN_BIT = 19; // _BITS2 - 1
- static final int _SIGN_BIT_VALUE = 524288; // 1 << _SIGN_BIT
+ static const int _BITS = 22;
+ static const int _BITS01 = 44; // 2 * _BITS
+ static const int _BITS2 = 20; // 64 - _BITS01
+ static const int _MASK = 4194303; // (1 << _BITS) - 1
+ static const int _MASK_2 = 1048575; // (1 << _BITS2) - 1
+ static const int _SIGN_BIT = 19; // _BITS2 - 1
+ static const int _SIGN_BIT_VALUE = 524288; // 1 << _SIGN_BIT
// Cached constants
static int64 _MAX_VALUE;
« no previous file with comments | « pkg/fixnum/int32.dart ('k') | pkg/fixnum/test/int_64_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698