| Index: src/compiler/representation-change.cc
|
| diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
|
| index 928c31b1b05513736639b5efe4cf38c1b294e4a8..b236670ecbffcbb66accb346c25a12069f44a6c0 100644
|
| --- a/src/compiler/representation-change.cc
|
| +++ b/src/compiler/representation-change.cc
|
| @@ -211,7 +211,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);
|
| @@ -253,7 +253,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();
|
| @@ -298,7 +298,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();
|
| @@ -380,7 +380,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);
|
| @@ -450,7 +450,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);
|
| @@ -536,7 +536,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);
|
| @@ -658,7 +658,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);
|
| @@ -697,7 +697,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);
|
|
|