Index: src/compiler/representation-change.cc |
diff --git a/src/compiler/representation-change.cc b/src/compiler/representation-change.cc |
index d2dc2004dcec861786fa32af3027247863dda6ff..8a75cef24e290eac27d492fb53eddf23d13e5ab6 100644 |
--- a/src/compiler/representation-change.cc |
+++ b/src/compiler/representation-change.cc |
@@ -188,10 +188,10 @@ |
// Select the correct X -> Tagged operator. |
const Operator* op; |
if (output_rep == MachineRepresentation::kBit) { |
- op = simplified()->ChangeBitToTagged(); |
+ op = simplified()->ChangeBitToBool(); |
} else if (IsWord(output_rep)) { |
if (output_type->Is(Type::Signed31())) { |
- op = simplified()->ChangeInt31ToTaggedSigned(); |
+ op = simplified()->ChangeInt31ToTagged(); |
} else if (output_type->Is(Type::Signed32())) { |
op = simplified()->ChangeInt32ToTagged(); |
} else if (output_type->Is(Type::Unsigned32())) { |
@@ -208,7 +208,7 @@ |
} else if (output_rep == MachineRepresentation::kFloat64) { |
if (output_type->Is(Type::Signed31())) { // float64 -> int32 -> tagged |
node = InsertChangeFloat64ToInt32(node); |
- op = simplified()->ChangeInt31ToTaggedSigned(); |
+ op = simplified()->ChangeInt31ToTagged(); |
} else if (output_type->Is( |
Type::Signed32())) { // float64 -> int32 -> tagged |
node = InsertChangeFloat64ToInt32(node); |
@@ -418,7 +418,7 @@ |
// Select the correct X -> Bit operator. |
const Operator* op; |
if (output_rep == MachineRepresentation::kTagged) { |
- op = simplified()->ChangeTaggedToBit(); |
+ op = simplified()->ChangeBoolToBit(); |
} else { |
return TypeError(node, output_rep, output_type, |
MachineRepresentation::kBit); |