Index: src/compiler/code-generator.cc |
diff --git a/src/compiler/code-generator.cc b/src/compiler/code-generator.cc |
index 47dce3105cf708fd2778c0f9585446c98ac31637..b83db1a1a1540b34a9c50d033a183049a4594a53 100644 |
--- a/src/compiler/code-generator.cc |
+++ b/src/compiler/code-generator.cc |
@@ -557,7 +557,8 @@ void CodeGenerator::AddTranslationForOperand(Translation* translation, |
break; |
case Constant::kFloat64: |
DCHECK(type == kMachFloat64 || type == kMachAnyTagged || |
- type == kRepTagged || type == (kTypeInt32 | kRepTagged) || |
+ type == kRepTagged || type == (kTypeNumber | kRepTagged) || |
+ type == (kTypeInt32 | kRepTagged) || |
type == (kTypeUint32 | kRepTagged)); |
constant_object = isolate()->factory()->NewNumber(constant.ToFloat64()); |
break; |