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

Issue 555153003: Use unsigned type bitsets to limit undefined behaviour (Closed)

Created:
6 years, 3 months ago by rossberg
Modified:
6 years, 3 months ago
CC:
v8-dev
Project:
v8
Visibility:
Public.

Description

Use unsigned type bitsets to limit undefined behaviour R=bmeurer@chromium.org, svenpanne@chromium.org BUG= Committed: https://code.google.com/p/v8/source/detail?r=23916

Patch Set 1 #

Total comments: 1

Patch Set 2 : F the smi abstraction #

Unified diffs Side-by-side diffs Delta from patch set Stats (+149 lines, -137 lines) Patch
M src/types.h View 1 11 chunks +76 lines, -76 lines 0 comments Download
M src/types.cc View 1 20 chunks +59 lines, -50 lines 0 comments Download
M src/types-inl.h View 1 5 chunks +14 lines, -11 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
rossberg
6 years, 3 months ago (2014-09-09 15:26:55 UTC) #1
Benedikt Meurer
https://codereview.chromium.org/555153003/diff/1/src/types-inl.h File src/types-inl.h (right): https://codereview.chromium.org/555153003/diff/1/src/types-inl.h#newcode253 src/types-inl.h:253: return Type::cast(i::Smi::FromInt(static_cast<int>(bitset))); Use Type::cast(i::Smi::FromIntptr(bit_cast<intptr_t>(bitset))) instead.
6 years, 3 months ago (2014-09-10 04:13:24 UTC) #2
Benedikt Meurer
lgtm
6 years, 3 months ago (2014-09-12 12:00:52 UTC) #3
rossberg
6 years, 3 months ago (2014-09-12 13:04:05 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as 23916 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698