| 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..24fec96bfa47bd0a76feaea9ce815f6b458f0282 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 <= 127) {
|
| Output(Bytecode::kLdaSmi8, static_cast<uint8_t>(raw_smi));
|
| } else {
|
| // TODO(oth): Put Smi in constant pool.
|
|
|