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

Issue 1881423002: Adjust bytecode operand values for big endian. (Closed)

Created:
4 years, 8 months ago by miran.karic
Modified:
4 years, 8 months ago
CC:
v8-reviews_googlegroups.com, oth, rmcilroy
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Adjust bytecode operand values for big endian. Operand values in Bytecodes.DecodeBytecodeAndOperands test are encoded in little endian format. The test calls Bytecodes::Decode function which reads the operands but the values are byte swapped on big endian machines. Added big endian encoded data which decodes correctly on BE machines. BUG= Committed: https://crrev.com/3b416c67f5c5294ffb937110478baf6048c0c39a Cr-Commit-Position: refs/heads/master@{#35447}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix endian paths #

Patch Set 3 : Swap BE and LE data #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -32 lines) Patch
M test/unittests/interpreter/bytecodes-unittest.cc View 1 2 1 chunk +67 lines, -31 lines 0 comments Download
M test/unittests/unittests.status View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 10 (4 generated)
miran.karic
4 years, 8 months ago (2016-04-13 09:08:07 UTC) #2
oth
LGTM with a minor comment. Thanks for fixing this. https://codereview.chromium.org/1881423002/diff/1/test/unittests/interpreter/bytecodes-unittest.cc File test/unittests/interpreter/bytecodes-unittest.cc (right): https://codereview.chromium.org/1881423002/diff/1/test/unittests/interpreter/bytecodes-unittest.cc#newcode222 test/unittests/interpreter/bytecodes-unittest.cc:222: ...
4 years, 8 months ago (2016-04-13 10:18:11 UTC) #3
miran.karic
https://codereview.chromium.org/1881423002/diff/1/test/unittests/interpreter/bytecodes-unittest.cc File test/unittests/interpreter/bytecodes-unittest.cc (right): https://codereview.chromium.org/1881423002/diff/1/test/unittests/interpreter/bytecodes-unittest.cc#newcode222 test/unittests/interpreter/bytecodes-unittest.cc:222: #else On 2016/04/13 10:18:11, oth wrote: > For consistency ...
4 years, 8 months ago (2016-04-13 10:40:15 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881423002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881423002/40001
4 years, 8 months ago (2016-04-13 13:13:23 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 8 months ago (2016-04-13 13:52:40 UTC) #8
commit-bot: I haz the power
4 years, 8 months ago (2016-04-13 13:53:13 UTC) #10
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/3b416c67f5c5294ffb937110478baf6048c0c39a
Cr-Commit-Position: refs/heads/master@{#35447}

Powered by Google App Engine
This is Rietveld 408576698