summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/prepare_for_register_allocation.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-11-04 16:40:20 +0000
committerCalin Juravle <calin@google.com>2014-11-06 14:42:58 +0000
commitd0d4852847432368b090c184d6639e573538dccf (patch)
tree47e31fe860ff1c3ace2f3f5945aa69689d42d998 /compiler/optimizing/prepare_for_register_allocation.h
parenta88b7b93e28ea86969dd3ec6a6bf6929d697fc31 (diff)
downloadart-d0d4852847432368b090c184d6639e573538dccf.zip
art-d0d4852847432368b090c184d6639e573538dccf.tar.gz
art-d0d4852847432368b090c184d6639e573538dccf.tar.bz2
[optimizing compiler] Add div-int and exception handling.
- for backends: arm, x86, x86_64 - fixed a register allocator bug: the request for a fixed register for the first input was ignored if the output was kSameAsFirstInput - added divide by zero exception - more tests - shuffle around some code in the builder to reduce the number of lines of code for a single function. Change-Id: Id3a515e02bfbc66cd9d16cb9746f7551bdab3d42
Diffstat (limited to 'compiler/optimizing/prepare_for_register_allocation.h')
-rw-r--r--compiler/optimizing/prepare_for_register_allocation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/prepare_for_register_allocation.h b/compiler/optimizing/prepare_for_register_allocation.h
index 3e63ecb..0fdb65f 100644
--- a/compiler/optimizing/prepare_for_register_allocation.h
+++ b/compiler/optimizing/prepare_for_register_allocation.h
@@ -34,6 +34,7 @@ class PrepareForRegisterAllocation : public HGraphDelegateVisitor {
private:
virtual void VisitNullCheck(HNullCheck* check) OVERRIDE;
+ virtual void VisitDivZeroCheck(HDivZeroCheck* check) OVERRIDE;
virtual void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE;
virtual void VisitClinitCheck(HClinitCheck* check) OVERRIDE;
virtual void VisitCondition(HCondition* condition) OVERRIDE;