diff options
Diffstat (limited to 'compiler/optimizing/nodes.cc')
| -rw-r--r-- | compiler/optimizing/nodes.cc | 30 | 
1 files changed, 0 insertions, 30 deletions
diff --git a/compiler/optimizing/nodes.cc b/compiler/optimizing/nodes.cc index d117bfb67d..5f33ed6303 100644 --- a/compiler/optimizing/nodes.cc +++ b/compiler/optimizing/nodes.cc @@ -2831,21 +2831,6 @@ bool HLoadClass::InstructionDataEquals(const HInstruction* other) const {    }  } -void HLoadClass::SetLoadKind(LoadKind load_kind) { -  SetPackedField<LoadKindField>(load_kind); - -  if (load_kind != LoadKind::kRuntimeCall && -      load_kind != LoadKind::kReferrersClass) { -    RemoveAsUserOfInput(0u); -    SetRawInputAt(0u, nullptr); -  } - -  if (!NeedsEnvironment()) { -    RemoveEnvironment(); -    SetSideEffects(SideEffects::None()); -  } -} -  std::ostream& operator<<(std::ostream& os, HLoadClass::LoadKind rhs) {    switch (rhs) {      case HLoadClass::LoadKind::kReferrersClass: @@ -2888,21 +2873,6 @@ bool HLoadString::InstructionDataEquals(const HInstruction* other) const {    }  } -void HLoadString::SetLoadKind(LoadKind load_kind) { -  // Once sharpened, the load kind should not be changed again. -  DCHECK_EQ(GetLoadKind(), LoadKind::kRuntimeCall); -  SetPackedField<LoadKindField>(load_kind); - -  if (load_kind != LoadKind::kRuntimeCall) { -    RemoveAsUserOfInput(0u); -    SetRawInputAt(0u, nullptr); -  } -  if (!NeedsEnvironment()) { -    RemoveEnvironment(); -    SetSideEffects(SideEffects::None()); -  } -} -  std::ostream& operator<<(std::ostream& os, HLoadString::LoadKind rhs) {    switch (rhs) {      case HLoadString::LoadKind::kBootImageLinkTimePcRelative:  |