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

Issue 2708213004: Introduce a flag --limit-ints-to-64-bits in the VM in order to investigate the (Closed)

Created:
3 years, 10 months ago by regis
Modified:
3 years, 10 months ago
Reviewers:
siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Introduce a flag --limit-ints-to-64-bits in the VM in order to investigate the use of Bigint (see issue #28595). A RangeError with the message "Integer operand requires conversion to Bigint" is thrown when a Bigint gets allocated. However, parsing a Bigint literal in Dart source will not throw the RangeError (as long as the literal is not used). R=asiva@google.com Committed: https://github.com/dart-lang/sdk/commit/54c1cbd6eab80a6e3f8347b3f3e2aae40bb329c2

Patch Set 1 #

Total comments: 4

Patch Set 2 : work in progress #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -0 lines) Patch
M runtime/lib/integers.cc View 1 chunk +6 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.h View 2 chunks +2 lines, -0 lines 0 comments Download
M runtime/vm/exceptions.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M runtime/vm/flag_list.h View 1 chunk +2 lines, -0 lines 0 comments Download
M runtime/vm/object.cc View 1 5 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (2 generated)
regis
3 years, 10 months ago (2017-02-21 23:30:00 UTC) #2
siva
lgtm with couple of comments. https://codereview.chromium.org/2708213004/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2708213004/diff/1/runtime/vm/object.cc#newcode19170 runtime/vm/object.cc:19170: RawBigint* Bigint::NewFromInt64(int64_t value, Heap::Space ...
3 years, 10 months ago (2017-02-22 01:48:51 UTC) #3
regis
Thanks! https://codereview.chromium.org/2708213004/diff/1/runtime/vm/object.cc File runtime/vm/object.cc (right): https://codereview.chromium.org/2708213004/diff/1/runtime/vm/object.cc#newcode19170 runtime/vm/object.cc:19170: RawBigint* Bigint::NewFromInt64(int64_t value, Heap::Space space) { On 2017/02/22 ...
3 years, 10 months ago (2017-02-22 17:30:49 UTC) #4
regis
3 years, 10 months ago (2017-02-22 17:49:11 UTC) #6
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
54c1cbd6eab80a6e3f8347b3f3e2aae40bb329c2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698