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

Issue 23745008: Follow-up fix to my change to IsPowerOfTwo: Alignment of one means no alignment, not zero. (Closed)

Created:
7 years, 3 months ago by Florian Schneider
Modified:
7 years, 3 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

Follow-up fix to my change to IsPowerOfTwo: Alignment of one means no alignment, not zero. We assert that the alignment is a power of two. Therefore, platforms that do not need alignment should return alignment of one instead of zero. R=kmillikin@google.com Committed: https://code.google.com/p/dart/source/detail?r=27037

Patch Set 1 #

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -20 lines) Patch
M runtime/vm/assembler_arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_ia32.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_ia32_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_x64.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/assembler_x64_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/native_arguments.h View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/vm/os.h View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/os_win.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/simulator_arm.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/simulator_mips.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/stub_code_ia32.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/stub_code_x64.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Florian Schneider
7 years, 3 months ago (2013-09-03 10:43:27 UTC) #1
Kevin Millikin (Google)
LGTM.
7 years, 3 months ago (2013-09-03 10:53:44 UTC) #2
Florian Schneider
7 years, 3 months ago (2013-09-03 10:57:02 UTC) #3
Message was sent while issue was closed.
Committed patchset #2 manually as r27037 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698