Commit 16dda215 authored by Miran.Karic's avatar Miran.Karic Committed by Commit bot

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}
parent 22a73e0d
...@@ -205,7 +205,7 @@ TEST(Bytecodes, DecodeBytecodeAndOperands) { ...@@ -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"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment