summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-12-04 17:09:45 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-12-04 17:09:45 +0000
commit7c8ce29e97fb7873160ab8895d847e9643a1f8f6 (patch)
tree76a45f69cd12c9ad43d87187b4a932eac89a28fa /compiler/optimizing/builder.h
parent8a717bc12bf30c5ad2b8764f89abe6c5ec72bb42 (diff)
parentd881df5aad7950a185480876951762c1f60ea708 (diff)
Merge "ART: Add PackedSwitch support to the optimizing compiler"
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 59aba6a97f..e4e370582d 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -203,6 +203,10 @@ class HGraphBuilder : public ValueObject {
uint16_t type_index,
uint32_t dex_pc);
+ // Builds an instruction sequence for a packed switch statement. This will punt to the interpreter
+ // for a switch with a full 64k set of cases.
+ bool BuildPackedSwitch(const Instruction& instruction, uint32_t dex_pc);
+
ArenaAllocator* const arena_;
// A list of the size of the dex code holding block information for