summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/builder.h
diff options
context:
space:
mode:
authorCalin Juravle <calin@google.com>2014-11-14 15:54:36 +0000
committerCalin Juravle <calin@google.com>2014-11-17 11:19:35 +0000
commitbacfec30ee9f2f6fdfd190f11b105b609938efca (patch)
tree1fb08fa38b27627ab59a54895ef098b43bb70ce1 /compiler/optimizing/builder.h
parentff5298ff1640b730ee62c90ca78fc96b7ee82ec4 (diff)
downloadart-bacfec30ee9f2f6fdfd190f11b105b609938efca.tar.gz
art-bacfec30ee9f2f6fdfd190f11b105b609938efca.tar.bz2
art-bacfec30ee9f2f6fdfd190f11b105b609938efca.zip
[optimizing compiler] Add REM_INT, REM_LONG
- for arm, x86, x86_64 - minor cleanup/fix in div tests Change-Id: I240874010206a5a9b3aaffbc81a885b94c248f93
Diffstat (limited to 'compiler/optimizing/builder.h')
-rw-r--r--compiler/optimizing/builder.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/compiler/optimizing/builder.h b/compiler/optimizing/builder.h
index 799e628a7..897bcece7 100644
--- a/compiler/optimizing/builder.h
+++ b/compiler/optimizing/builder.h
@@ -123,12 +123,13 @@ class HGraphBuilder : public ValueObject {
Primitive::Type input_type,
Primitive::Type result_type);
- void BuildCheckedDiv(uint16_t out_reg,
- uint16_t first_reg,
- int64_t second_reg_or_constant,
- uint32_t dex_pc,
- Primitive::Type type,
- bool second_is_lit);
+ void BuildCheckedDivRem(uint16_t out_reg,
+ uint16_t first_reg,
+ int64_t second_reg_or_constant,
+ uint32_t dex_pc,
+ Primitive::Type type,
+ bool second_is_lit,
+ bool is_div);
void BuildReturn(const Instruction& instruction, Primitive::Type type);