| Index: src/hydrogen-uint32-analysis.cc
|
| diff --git a/src/hydrogen-uint32-analysis.cc b/src/hydrogen-uint32-analysis.cc
|
| index 7616f3d46b61a6416a6bc6917b4ed56158b76032..585a7066f60f23242a458e95504814e556f1a329 100644
|
| --- a/src/hydrogen-uint32-analysis.cc
|
| +++ b/src/hydrogen-uint32-analysis.cc
|
| @@ -41,10 +41,10 @@ bool HUint32AnalysisPhase::IsSafeUint32Use(HValue* val, HValue* use) {
|
| return true;
|
| } else if (use->IsChange()) {
|
| // Conversions have special support for uint32.
|
| - // This ASSERT guards that the conversion in question is actually
|
| + // This DCHECK guards that the conversion in question is actually
|
| // implemented. Do not extend the whitelist without adding
|
| // support to LChunkBuilder::DoChange().
|
| - ASSERT(HChange::cast(use)->to().IsDouble() ||
|
| + DCHECK(HChange::cast(use)->to().IsDouble() ||
|
| HChange::cast(use)->to().IsSmi() ||
|
| HChange::cast(use)->to().IsTagged());
|
| return true;
|
| @@ -55,9 +55,9 @@ bool HUint32AnalysisPhase::IsSafeUint32Use(HValue* val, HValue* use) {
|
| // operation.
|
| if (store->value() == val) {
|
| // Clamping or a conversion to double should have beed inserted.
|
| - ASSERT(store->elements_kind() != EXTERNAL_UINT8_CLAMPED_ELEMENTS);
|
| - ASSERT(store->elements_kind() != EXTERNAL_FLOAT32_ELEMENTS);
|
| - ASSERT(store->elements_kind() != EXTERNAL_FLOAT64_ELEMENTS);
|
| + DCHECK(store->elements_kind() != EXTERNAL_UINT8_CLAMPED_ELEMENTS);
|
| + DCHECK(store->elements_kind() != EXTERNAL_FLOAT32_ELEMENTS);
|
| + DCHECK(store->elements_kind() != EXTERNAL_FLOAT64_ELEMENTS);
|
| return true;
|
| }
|
| }
|
|
|