Fix bytecode operand type
A value in unittests/Bytecodes.DecodeBytecodeAndOperands was 16 bit instead of 8 bit. This was causing test to fail on big endian machines. BUG= Review-Url: https://codereview.chromium.org/2030063002 Cr-Commit-Position: refs/heads/master@{#36698}
This commit is contained in:
parent
22a73e0d85
commit
16dda2152f
@ -205,7 +205,7 @@ TEST(Bytecodes, DecodeBytecodeAndOperands) {
|
|||||||
2,
|
2,
|
||||||
3,
|
3,
|
||||||
" Ldar a1"},
|
" Ldar a1"},
|
||||||
{{B(Wide), B(CreateObjectLiteral), U16(513), U16(1027), U16(165)},
|
{{B(Wide), B(CreateObjectLiteral), U16(513), U16(1027), U8(165)},
|
||||||
7,
|
7,
|
||||||
0,
|
0,
|
||||||
"CreateObjectLiteral.Wide [513], [1027], #165"},
|
"CreateObjectLiteral.Wide [513], [1027], #165"},
|
||||||
|
Loading…
Reference in New Issue
Block a user