summaryrefslogtreecommitdiff
path: root/compiler/dex/quick/codegen_util.cc
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-06-24 18:44:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-06-24 18:00:13 +0000
commitfbd18f1923334f3208cfe6ba5f1d4f9eb421b063 (patch)
tree79eefb2dd1ae2cade357ef5d8367973bd08b0a34 /compiler/dex/quick/codegen_util.cc
parent7e47f713067b55e24b5d24f2c892ceefd7971ebf (diff)
parentde68676b24f61a55adc0b22fe828f036a5925c41 (diff)
Merge "Revert "ART: Split out more cases of Load/StoreRef, volatile as parameter""
Diffstat (limited to 'compiler/dex/quick/codegen_util.cc')
-rw-r--r--compiler/dex/quick/codegen_util.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/compiler/dex/quick/codegen_util.cc b/compiler/dex/quick/codegen_util.cc
index 5ff73800de..ec0fb43571 100644
--- a/compiler/dex/quick/codegen_util.cc
+++ b/compiler/dex/quick/codegen_util.cc
@@ -79,15 +79,6 @@ void Mir2Lir::MarkSafepointPC(LIR* inst) {
DCHECK(safepoint_pc->u.m.def_mask->Equals(kEncodeAll));
}
-void Mir2Lir::MarkSafepointPCAfter(LIR* after) {
- DCHECK(!after->flags.use_def_invalid);
- after->u.m.def_mask = &kEncodeAll;
- // As NewLIR0 uses Append, we need to create the LIR by hand.
- LIR* safepoint_pc = RawLIR(current_dalvik_offset_, kPseudoSafepointPC);
- InsertLIRAfter(after, safepoint_pc);
- DCHECK(safepoint_pc->u.m.def_mask->Equals(kEncodeAll));
-}
-
/* Remove a LIR from the list. */
void Mir2Lir::UnlinkLIR(LIR* lir) {
if (UNLIKELY(lir == first_lir_insn_)) {