summaryrefslogtreecommitdiff
path: root/compiler/optimizing/nodes.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-09-25 13:58:00 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-09-25 13:58:00 +0000
commite92ed9d31bae7ccd48b60aa921e9dd2ca96ac9db (patch)
tree497ad13136a0683b41e856899ad48c6c42bec15c /compiler/optimizing/nodes.h
parent1c79b7f7a2ef3fadd6de2d4ff70f6e6b6ddf56ef (diff)
parent211c2119dc8932bdb264fae858adba6c0541ce3c (diff)
Merge "Optimizing: Rewrite DCE's MarkReachableBlocks()."
Diffstat (limited to 'compiler/optimizing/nodes.h')
-rw-r--r--compiler/optimizing/nodes.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h
index d79852c17b..6b0ccf8690 100644
--- a/compiler/optimizing/nodes.h
+++ b/compiler/optimizing/nodes.h
@@ -2409,7 +2409,7 @@ class HCurrentMethod : public HExpression<0> {
// will be the block containing the next Dex opcode.
class HPackedSwitch : public HTemplateInstruction<1> {
public:
- HPackedSwitch(int32_t start_value, int32_t num_entries, HInstruction* input,
+ HPackedSwitch(int32_t start_value, uint32_t num_entries, HInstruction* input,
uint32_t dex_pc = kNoDexPc)
: HTemplateInstruction(SideEffects::None(), dex_pc),
start_value_(start_value),
@@ -2421,7 +2421,7 @@ class HPackedSwitch : public HTemplateInstruction<1> {
int32_t GetStartValue() const { return start_value_; }
- int32_t GetNumEntries() const { return num_entries_; }
+ uint32_t GetNumEntries() const { return num_entries_; }
HBasicBlock* GetDefaultBlock() const {
// Last entry is the default block.
@@ -2431,7 +2431,7 @@ class HPackedSwitch : public HTemplateInstruction<1> {
private:
int32_t start_value_;
- int32_t num_entries_;
+ uint32_t num_entries_;
DISALLOW_COPY_AND_ASSIGN(HPackedSwitch);
};