| Index: src/compiler/code-generator.cc
|
| diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc
|
| index 152c9a469eb22f0494e5da51ba2caf55b2710b93..4cb3d9474ba6c9cc7b4d31482855a27f70455c95 100644
|
| --- a/src/compiler/code-generator.cc
|
| +++ b/src/compiler/code-generator.cc
|
| @@ -581,10 +581,7 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation,
|
| isolate()->factory()->NewNumberFromInt(constant.ToInt32());
|
| break;
|
| case Constant::kFloat64:
|
| - DCHECK(type == kMachFloat64 || type == kMachAnyTagged ||
|
| - type == kRepTagged || type == (kTypeNumber | kRepTagged) ||
|
| - type == (kTypeInt32 | kRepTagged) ||
|
| - type == (kTypeUint32 | kRepTagged));
|
| + DCHECK((type & (kRepFloat64 | kRepTagged)) != 0);
|
| constant_object = isolate()->factory()->NewNumber(constant.ToFloat64());
|
| break;
|
| case Constant::kHeapObject:
|
|
|