| Index: src/compiler/representation-change.cc
|
| diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc
|
| index dcfebd1172536c4116a5669751a00c0ccd4f9910..97a2a37d59d6644e544e44385391ccb87e644392 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();
|
| @@ -420,7 +420,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);
|
| @@ -490,7 +490,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);
|
| @@ -576,7 +576,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);
|
| @@ -698,7 +698,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);
|
| @@ -737,7 +737,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);
|
| @@ -958,7 +958,7 @@ Node* RepresentationChanger::TypeError(Node* node,
|
| if (!testing_type_errors_) {
|
| std::ostringstream out_str;
|
| out_str << output_rep << " (";
|
| - output_type->PrintTo(out_str, Type::SEMANTIC_DIM);
|
| + output_type->PrintTo(out_str);
|
| out_str << ")";
|
|
|
| std::ostringstream use_str;
|
|
|