summaryrefslogtreecommitdiff
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 8519bcba60..e4e370582d 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -135,7 +135,8 @@ class HGraphBuilder : public ValueObject {
void Conversion_12x(const Instruction& instruction,
Primitive::Type input_type,
- Primitive::Type result_type);
+ Primitive::Type result_type,
+ uint32_t dex_pc);
void BuildCheckedDivRem(uint16_t out_reg,
uint16_t first_reg,
@@ -202,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