| Index: src/interpreter/bytecode-array-builder.cc
|
| diff --git a/src/interpreter/bytecode-array-builder.cc b/src/interpreter/bytecode-array-builder.cc
|
| index 8cc0772db97d4b0a98180c57d5c0ffa28d8cc726..04e970101c90bc1365b217c1e9a388bc72defbcc 100644
|
| --- a/src/interpreter/bytecode-array-builder.cc
|
| +++ b/src/interpreter/bytecode-array-builder.cc
|
| @@ -50,7 +50,7 @@ BytecodeArrayBuilder& BytecodeArrayBuilder::LoadLiteral(
|
| int32_t raw_smi = smi->value();
|
| if (raw_smi == 0) {
|
| Output(Bytecode::kLdaZero);
|
| - } else if (raw_smi > -128 && raw_smi <= 128) {
|
| + } else if (raw_smi >= -128 && raw_smi < 128) {
|
| Output(Bytecode::kLdaSmi8, static_cast<uint8_t>(raw_smi));
|
| } else {
|
| // TODO(oth): Put Smi in constant pool.
|
|
|