| Index: src/compiler/representation-change.cc
|
| diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
|
| index 12c56a727f16dcde95aa44547b8b20ad44185587..22d809b9d676492149d604336de71549576db2e0 100644
|
| --- a/src/compiler/representation-change.cc
|
| +++ b/src/compiler/representation-change.cc
|
| @@ -196,7 +196,7 @@ Node* RepresentationChanger::GetTaggedSignedRepresentationFor(
|
| }
|
| // Select the correct X -> Tagged operator.
|
| const Operator* op;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Constant(0);
|
| @@ -293,7 +293,7 @@ Node* RepresentationChanger::GetTaggedPointerRepresentationFor(
|
| break;
|
| }
|
| // Select the correct X -> Tagged operator.
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->TheHoleConstant();
|
| @@ -338,7 +338,7 @@ Node* RepresentationChanger::GetTaggedRepresentationFor(
|
| }
|
| // Select the correct X -> Tagged operator.
|
| const Operator* op;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->TheHoleConstant();
|
| @@ -414,7 +414,7 @@ Node* RepresentationChanger::GetFloat32RepresentationFor(
|
| }
|
| // Select the correct X -> Float32 operator.
|
| const Operator* op = nullptr;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Float32Constant(0.0f);
|
| @@ -484,7 +484,7 @@ Node* RepresentationChanger::GetFloat64RepresentationFor(
|
| }
|
| // Select the correct X -> Float64 operator.
|
| const Operator* op = nullptr;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Float64Constant(0.0);
|
| @@ -570,7 +570,7 @@ Node* RepresentationChanger::GetWord32RepresentationFor(
|
|
|
| // Select the correct X -> Word32 operator.
|
| const Operator* op = nullptr;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Int32Constant(0);
|
| @@ -692,7 +692,7 @@ Node* RepresentationChanger::GetBitRepresentationFor(
|
| }
|
| // Select the correct X -> Bit operator.
|
| const Operator* op;
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Int32Constant(0);
|
| @@ -731,7 +731,7 @@ Node* RepresentationChanger::GetBitRepresentationFor(
|
|
|
| Node* RepresentationChanger::GetWord64RepresentationFor(
|
| Node* node, MachineRepresentation output_rep, Type* output_type) {
|
| - if (Type::Semantic(output_type, jsgraph()->zone())->Is(Type::None())) {
|
| + if (output_type->Is(Type::None())) {
|
| // This is an impossible value; it should not be used at runtime.
|
| // We just provide a dummy value here.
|
| return jsgraph()->Int64Constant(0);
|
|
|