| Index: src/compiler/code-generator.cc
|
| diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
|
| index 78634768714229a002a17d4e1cabfaf5e9de4447..bf30ec9ab19498f1f59ef16f1f488e965761a0b1 100644
|
| --- a/src/compiler/code-generator.cc
|
| +++ b/src/compiler/code-generator.cc
|
| @@ -928,9 +928,13 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation,
|
| type.representation() == MachineRepresentation::kNone);
|
| DCHECK(type.representation() != MachineRepresentation::kNone ||
|
| constant.ToInt32() == FrameStateDescriptor::kImpossibleValue);
|
| -
|
| - constant_object =
|
| - isolate()->factory()->NewNumberFromInt(constant.ToInt32());
|
| + if (type == MachineType::Uint32()) {
|
| + constant_object =
|
| + isolate()->factory()->NewNumberFromUint(constant.ToInt32());
|
| + } else {
|
| + constant_object =
|
| + isolate()->factory()->NewNumberFromInt(constant.ToInt32());
|
| + }
|
| }
|
| break;
|
| case Constant::kInt64:
|
|
|