summaryrefslogtreecommitdiffstats
path: root/runtime/dex_instruction_utils.h
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-03-19 12:43:20 -0700
committerMathieu Chartier <mathieuc@google.com>2015-03-19 20:00:50 -0700
commitd7cbf8a6629942e7bd315ffae7e1c77b082f3e11 (patch)
treefc8c3371ed4ddac96bbe90a2f94ef5fb5c5472ee /runtime/dex_instruction_utils.h
parentf5988cf0c47ff935bb19c89ed0398be5fbe44bb6 (diff)
downloadart-d7cbf8a6629942e7bd315ffae7e1c77b082f3e11.zip
art-d7cbf8a6629942e7bd315ffae7e1c77b082f3e11.tar.gz
art-d7cbf8a6629942e7bd315ffae7e1c77b082f3e11.tar.bz2
Change RETURN_VOID_BARRIER to RETURN_VOID_NO_BARRIER
We want to default to having a barrier for the case where we don't dex to dex. Bug: 19762303 Change-Id: I60348d89eaf0b9e1e480298afcecbb5f52e8661b
Diffstat (limited to 'runtime/dex_instruction_utils.h')
-rw-r--r--runtime/dex_instruction_utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dex_instruction_utils.h b/runtime/dex_instruction_utils.h
index 1a671c5..f892f98 100644
--- a/runtime/dex_instruction_utils.h
+++ b/runtime/dex_instruction_utils.h
@@ -55,7 +55,7 @@ constexpr bool IsInstructionReturn(Instruction::Code opcode) {
constexpr bool IsInstructionInvoke(Instruction::Code opcode) {
return Instruction::INVOKE_VIRTUAL <= opcode && opcode <= Instruction::INVOKE_INTERFACE_RANGE &&
- opcode != Instruction::RETURN_VOID_BARRIER;
+ opcode != Instruction::RETURN_VOID_NO_BARRIER;
}
constexpr bool IsInstructionQuickInvoke(Instruction::Code opcode) {