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

Issue 2985193002: [vm] Add error messages for large literals coming from kernel (Closed)

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

Description

[vm] Add error messages for large literals coming from kernel This CL introduces additional error checking for the case when VM runs in --limit-ints-to-64-bits mode (with integers limited to 64 bits) but reads .dill files with large integer literals (produced with unlimited integers). R=zra@google.com Issue: https://github.com/dart-lang/sdk/issues/30103 Committed: https://github.com/dart-lang/sdk/commit/230363a3d3a16deab99c4e6764e9db9ac9db31ca

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add UNREACHABLE() after ReportError #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M runtime/vm/kernel_binary_flowgraph.cc View 1 2 chunks +11 lines, -1 line 0 comments Download
M runtime/vm/kernel_reader.cc View 1 1 chunk +11 lines, -5 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
alexmarkov
3 years, 4 months ago (2017-07-27 02:33:58 UTC) #3
zra
lgtm I like having UNREACHABLE() after functions like ReportError() that look like they don't return, ...
3 years, 4 months ago (2017-07-27 16:31:44 UTC) #4
alexmarkov
https://codereview.chromium.org/2985193002/diff/1/runtime/vm/kernel_binary_flowgraph.cc File runtime/vm/kernel_binary_flowgraph.cc (right): https://codereview.chromium.org/2985193002/diff/1/runtime/vm/kernel_binary_flowgraph.cc#newcode2271 runtime/vm/kernel_binary_flowgraph.cc:2271: H.ReportError("Integer literal %s is out of range", value.ToCString()); On ...
3 years, 4 months ago (2017-07-28 17:42:43 UTC) #5
alexmarkov
3 years, 4 months ago (2017-07-28 17:44:23 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
230363a3d3a16deab99c4e6764e9db9ac9db31ca (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698