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

Issue 2641243002: Removed usage of std::map and std::vector from kernel code. Issue #28064. (Closed)

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

Description

Removed usage of std::map and std::vector from kernel code. Issue #28064. Added fix to hopefully fix build error. BUG= R=zra@google.com Review-Url: https://codereview.chromium.org/2647633003 . Committed: https://github.com/dart-lang/sdk/commit/b9035d949f72edf329c2590f7becca0ec250bc73

Patch Set 1 #

Total comments: 3

Patch Set 2 : Fixed error causing compilation to fail due to strict-overflow being enabled. #

Total comments: 4

Patch Set 3 : Removed static_cast causing build errors on Mac DebugIA32 #

Patch Set 4 : Removed usage of std::map and std::vector from kernel code. Issue #28064. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -29 lines) Patch
M runtime/vm/kernel_binary.cc View 1 2 3 4 chunks +29 lines, -24 lines 0 comments Download
M runtime/vm/kernel_reader.h View 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/vm/kernel_to_il.h View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
bkonyi
https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h File runtime/vm/growable_array.h (right): https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h#newcode42 runtime/vm/growable_array.h:42: ASSERT(static_cast<uintptr_t>(length_) >= static_cast<uintptr_t>(length)); The compiler was complaining that doing ...
3 years, 11 months ago (2017-01-19 20:48:46 UTC) #2
zra
https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h File runtime/vm/growable_array.h (right): https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h#newcode42 runtime/vm/growable_array.h:42: ASSERT(static_cast<uintptr_t>(length_) >= static_cast<uintptr_t>(length)); On 2017/01/19 20:48:46, bkonyi wrote: > ...
3 years, 11 months ago (2017-01-19 21:06:25 UTC) #3
bkonyi
3 years, 11 months ago (2017-01-19 23:24:31 UTC) #4
bkonyi
https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h File runtime/vm/growable_array.h (right): https://codereview.chromium.org/2641243002/diff/1/runtime/vm/growable_array.h#newcode42 runtime/vm/growable_array.h:42: ASSERT(static_cast<uintptr_t>(length_) >= static_cast<uintptr_t>(length)); On 2017/01/19 at 21:06:25, zra wrote: ...
3 years, 11 months ago (2017-01-20 23:56:28 UTC) #5
zra
I'm still seeing errors like: ../../runtime/vm/kernel_binary.cc:166:41: error: comparison of integers of different signs: 'unsigned int' ...
3 years, 11 months ago (2017-01-21 00:01:46 UTC) #6
zra
On 2017/01/21 00:01:46, zra wrote: > I'm still seeing errors like: > ../../runtime/vm/kernel_binary.cc:166:41: error: comparison ...
3 years, 11 months ago (2017-01-21 00:02:02 UTC) #7
zra
https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc File runtime/vm/kernel_binary.cc (right): https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc#newcode166 runtime/vm/kernel_binary.cc:166: ASSERT(static_cast<unsigned>(index) < variables_.length()); This cast looks like it is ...
3 years, 11 months ago (2017-01-21 00:03:44 UTC) #8
zra
https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc File runtime/vm/kernel_binary.cc (right): https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc#newcode166 runtime/vm/kernel_binary.cc:166: ASSERT(static_cast<unsigned>(index) < variables_.length()); On 2017/01/21 00:03:44, zra wrote: > ...
3 years, 11 months ago (2017-01-21 07:25:35 UTC) #9
bkonyi
https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc File runtime/vm/kernel_binary.cc (right): https://codereview.chromium.org/2641243002/diff/20001/runtime/vm/kernel_binary.cc#newcode166 runtime/vm/kernel_binary.cc:166: ASSERT(static_cast<unsigned>(index) < variables_.length()); On 2017/01/21 07:25:35, zra wrote: > ...
3 years, 11 months ago (2017-01-24 20:48:27 UTC) #10
zra
lgtm
3 years, 11 months ago (2017-01-24 21:09:40 UTC) #11
bkonyi
3 years, 11 months ago (2017-01-24 22:26:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
b9035d949f72edf329c2590f7becca0ec250bc73 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698