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

Issue 8585049: Add an interface for retrieving the value of unsigned 64-bit integers. (Closed)

Created:
9 years, 1 month ago by cshapiro
Modified:
9 years ago
Reviewers:
turnidge
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Add an interface for retrieving the value of unsigned 64-bit integers. With this change, IntegerValue is renamed to IntegerToInt64 for symmetry with the new IntegerToUint64 interface. Also uses of UInt64 have been replaced with Uint64 for naming consistency. Committed: https://code.google.com/p/dart/source/detail?r=2317

Patch Set 1 #

Total comments: 7

Patch Set 2 : Address review comments. #

Total comments: 17

Patch Set 3 : Address review comments. #

Total comments: 2

Patch Set 4 : Minor consistency changes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+233 lines, -94 lines) Patch
M runtime/bin/dartutils.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M runtime/include/dart_api.h View 1 3 chunks +29 lines, -3 lines 0 comments Download
M runtime/vm/bigint_operations.h View 2 chunks +4 lines, -4 lines 0 comments Download
M runtime/vm/bigint_operations.cc View 5 chunks +8 lines, -8 lines 0 comments Download
M runtime/vm/bigint_operations_test.cc View 1 chunk +9 lines, -9 lines 0 comments Download
M runtime/vm/dart_api_impl.cc View 1 2 3 2 chunks +79 lines, -32 lines 0 comments Download
M runtime/vm/dart_api_impl_test.cc View 1 2 26 chunks +103 lines, -37 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
cshapiro
9 years, 1 month ago (2011-11-17 23:05:19 UTC) #1
turnidge
Let's chat about naming a bit in person too. http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc#newcode742 runtime/vm/dart_api_impl.cc:742: ...
9 years, 1 month ago (2011-11-17 23:19:02 UTC) #2
cshapiro
http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc#newcode742 runtime/vm/dart_api_impl.cc:742: uint64_t* value) { I agree, but I was the ...
9 years, 1 month ago (2011-11-18 10:06:54 UTC) #3
turnidge
http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8585049/diff/1/runtime/vm/dart_api_impl.cc#newcode742 runtime/vm/dart_api_impl.cc:742: uint64_t* value) { Okay, go ahead with Uint then. ...
9 years, 1 month ago (2011-11-22 21:06:14 UTC) #4
turnidge
http://codereview.chromium.org/8585049/diff/6001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8585049/diff/6001/runtime/vm/dart_api_impl.cc#newcode977 runtime/vm/dart_api_impl.cc:977: const Object& obj = Object::Handle(Api::UnwrapHandle(integer)); I've been doing things ...
9 years ago (2011-12-08 18:26:25 UTC) #5
cshapiro
TAL http://codereview.chromium.org/8585049/diff/6001/runtime/vm/dart_api_impl.cc File runtime/vm/dart_api_impl.cc (right): http://codereview.chromium.org/8585049/diff/6001/runtime/vm/dart_api_impl.cc#newcode957 runtime/vm/dart_api_impl.cc:957: const Object& obj = Object::Handle(Api::UnwrapHandle(integer)); Done here as ...
9 years ago (2011-12-08 22:50:50 UTC) #6
turnidge
9 years ago (2011-12-08 22:58:21 UTC) #7
lgtm, minor comments...

http://codereview.chromium.org/8585049/diff/11001/runtime/vm/dart_api_impl.cc
File runtime/vm/dart_api_impl.cc (right):

http://codereview.chromium.org/8585049/diff/11001/runtime/vm/dart_api_impl.cc...
runtime/vm/dart_api_impl.cc:959: return Api::Success();
Remove this?

http://codereview.chromium.org/8585049/diff/11001/runtime/vm/dart_api_impl.cc...
runtime/vm/dart_api_impl.cc:1053: CURRENT_FUNC, int_obj.ToCString());
Make consistent with IntegerToInt64?  (That is, fall out to Api::Success
instead?)

Powered by Google App Engine
This is Rietveld 408576698