summaryrefslogtreecommitdiffstats
path: root/runtime/verifier/instruction_flags.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2013-07-24 23:46:43 +0000
committerIan Rogers <irogers@google.com>2013-07-24 23:46:43 +0000
commit73dda0bc2adcd6a3a7d75f663a3559f8b527d485 (patch)
treefc83c823a67a5e259dc19d81f9cba6b147124cf0 /runtime/verifier/instruction_flags.h
parentc0d120a0b1389f1f402d13e20b9e4abd9ab7cd95 (diff)
downloadart-73dda0bc2adcd6a3a7d75f663a3559f8b527d485.zip
art-73dda0bc2adcd6a3a7d75f663a3559f8b527d485.tar.gz
art-73dda0bc2adcd6a3a7d75f663a3559f8b527d485.tar.bz2
Revert "Remove non-live vregs from GC map on return."
This change causes a test regression on the oat tests, back out until the change also updates the test for the new GC map values. This reverts commit c0d120a0b1389f1f402d13e20b9e4abd9ab7cd95. Change-Id: I48bc951b1dad9a9ae83cccf0b5b68ad60fac052c
Diffstat (limited to 'runtime/verifier/instruction_flags.h')
-rw-r--r--runtime/verifier/instruction_flags.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/runtime/verifier/instruction_flags.h b/runtime/verifier/instruction_flags.h
index e50ba13..9b2e595 100644
--- a/runtime/verifier/instruction_flags.h
+++ b/runtime/verifier/instruction_flags.h
@@ -93,21 +93,6 @@ class InstructionFlags {
return IsVisited() || IsChanged();
}
- void SetReturn() {
- flags_ |= 1 << kReturn;
- }
- void ClearReturn() {
- flags_ &= ~(1 << kReturn);
- }
- bool IsReturn() const {
- return (flags_ & (1 << kReturn)) != 0;
- }
-
- void SetCompileTimeInfoPointAndReturn() {
- SetCompileTimeInfoPoint();
- SetReturn();
- }
-
std::string ToString() const;
private:
@@ -123,8 +108,6 @@ class InstructionFlags {
kBranchTarget = 3,
// Location of interest to the compiler for GC maps and verifier based method sharpening.
kCompileTimeInfoPoint = 4,
- // A return instruction.
- kReturn = 5,
};
// Size of instruction in code units.