summaryrefslogtreecommitdiffstats
path: root/compiler/dex/mir_graph.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/dex/mir_graph.h')
-rw-r--r--compiler/dex/mir_graph.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler/dex/mir_graph.h b/compiler/dex/mir_graph.h
index 9c63d9c5ed..342d2a296a 100644
--- a/compiler/dex/mir_graph.h
+++ b/compiler/dex/mir_graph.h
@@ -509,6 +509,14 @@ class MIRGraph {
return reg_location_[method_sreg_];
}
+ bool IsSpecialCase() {
+ return special_case_ != kNoHandler;
+ }
+
+ SpecialCaseHandler GetSpecialCase() {
+ return special_case_;
+ }
+
void BasicBlockCombine();
void CodeLayout();
void DumpCheckStats();
@@ -655,6 +663,7 @@ class MIRGraph {
int method_sreg_;
unsigned int attributes_;
Checkstats* checkstats_;
+ SpecialCaseHandler special_case_;
ArenaAllocator* arena_;
};