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

Issue 10381133: Add 'fixnum' library to utils/ (Closed)

Created:
8 years, 7 months ago by Dan Rice
Modified:
8 years, 6 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Add 'fixnum' library to utils/ BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=8804

Patch Set 1 #

Total comments: 12

Patch Set 2 : Pass tests with dart2js and vm runtimes #

Total comments: 22

Patch Set 3 : Respond to review comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2657 lines, -0 lines) Patch
A lib/fixnum/fixnum.dart View 1 1 chunk +8 lines, -0 lines 0 comments Download
A lib/fixnum/int32.dart View 1 2 1 chunk +354 lines, -0 lines 0 comments Download
A lib/fixnum/int64.dart View 1 2 1 chunk +1096 lines, -0 lines 0 comments Download
A lib/fixnum/intx.dart View 1 1 chunk +103 lines, -0 lines 0 comments Download
A tests/lib/fixnum/int_32_test.dart View 1 2 1 chunk +158 lines, -0 lines 0 comments Download
A tests/lib/fixnum/int_64_test.dart View 1 2 1 chunk +606 lines, -0 lines 0 comments Download
A tests/lib/fixnum/int_64_vm_test.dart View 1 2 1 chunk +325 lines, -0 lines 0 comments Download
M tests/lib/lib.status View 1 2 1 chunk +7 lines, -0 lines 1 comment Download

Messages

Total messages: 7 (0 generated)
Dan Rice
Hi - This adds a fixnum library to utils/ as we discussed. Dan
8 years, 7 months ago (2012-05-14 21:34:44 UTC) #1
Mads Ager (google)
https://chromiumcodereview.appspot.com/10381133/diff/1/utils/fixnum/int32.dart File utils/fixnum/int32.dart (right): https://chromiumcodereview.appspot.com/10381133/diff/1/utils/fixnum/int32.dart#newcode333 utils/fixnum/int32.dart:333: List<int> result = new List<int>(8); 8 -> 4? https://chromiumcodereview.appspot.com/10381133/diff/1/utils/fixnum/int32.dart#newcode346 ...
8 years, 7 months ago (2012-05-15 07:37:39 UTC) #2
Mads Ager (google)
Shouldn't this be under lib/ as well?
8 years, 7 months ago (2012-05-15 07:42:07 UTC) #3
Dan Rice
Moved everything under lib/ and got it working in dart2js
8 years, 6 months ago (2012-06-12 17:18:15 UTC) #4
Mads Ager (google)
Only a few real comments about the tests. Once those are addressed this looks ready. ...
8 years, 6 months ago (2012-06-13 08:43:09 UTC) #5
Dan Rice
Updated patch set uploaded https://chromiumcodereview.appspot.com/10381133/diff/10001/lib/fixnum/int64.dart File lib/fixnum/int64.dart (right): https://chromiumcodereview.appspot.com/10381133/diff/10001/lib/fixnum/int64.dart#newcode495 lib/fixnum/int64.dart:495: res2 = a2 >> n; ...
8 years, 6 months ago (2012-06-14 14:38:41 UTC) #6
Mads Ager (google)
8 years, 6 months ago (2012-06-14 14:57:22 UTC) #7
LGTM!

https://chromiumcodereview.appspot.com/10381133/diff/18001/tests/lib/lib.status
File tests/lib/lib.status (right):

https://chromiumcodereview.appspot.com/10381133/diff/18001/tests/lib/lib.stat...
tests/lib/lib.status:10: fixnum/int_64_vm_test: Skip
Thanks for adding the comment. Does it make sense (in a follow-up change) to
scale down the test with fewer cases and always run it on the VM? Then the
manual step could be to change something in the test file itself to go through
the full set of tests?

Powered by Google App Engine
This is Rietveld 408576698