Commit ad16b359 authored by jarin's avatar jarin Committed by Commit bot

[turbofan] Weaken a DCHECK to allow tagged numbers as double constants in frame states.

BUG=chromium:472078
LOG=n
R=mstarzinger@chromium.org

Review URL: https://codereview.chromium.org/1047173002

Cr-Commit-Position: refs/heads/master@{#27542}
parent 48c185fe
......@@ -555,7 +555,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment