| Index: src/compiler/code-generator.cc
|
| diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
|
| index 86be1c147907b94d73290120b9a13b778afa8d4c..cd36950f56f5a48d92eb8f02e619871e802662bc 100644
|
| --- a/src/compiler/code-generator.cc
|
| +++ b/src/compiler/code-generator.cc
|
| @@ -632,7 +632,8 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation,
|
| Handle<Object> constant_object;
|
| switch (constant.type()) {
|
| case Constant::kInt32:
|
| - DCHECK(type == kMachInt32 || type == kMachUint32 || type == kRepBit);
|
| + DCHECK(type == kMachInt32 || type == kMachUint32 || type == kMachBool ||
|
| + type == kRepBit);
|
| constant_object =
|
| isolate()->factory()->NewNumberFromInt(constant.ToInt32());
|
| break;
|
|
|