diff options
| author | 2015-04-25 03:56:59 +0000 | |
|---|---|---|
| committer | 2015-04-25 03:56:59 +0000 | |
| commit | 5cf71a082e6638b61d6743bbe285f24d5c5ea6fc (patch) | |
| tree | c62ba17fb96bdd15dd61b0193c5047c91015e0b6 /compiler/optimizing/nodes.h | |
| parent | 51f271c8773bfcb009d5c74f43315431bc09d7a9 (diff) | |
| parent | 4c9dd79c58353ca6612eb352bea2656c0c5bc1d7 (diff) | |
am 4c9dd79c: am 940c65d6: Merge "[optimizing] Rename HasArrayAccesses and check it"
* commit '4c9dd79c58353ca6612eb352bea2656c0c5bc1d7':
[optimizing] Rename HasArrayAccesses and check it
Diffstat (limited to 'compiler/optimizing/nodes.h')
| -rw-r--r-- | compiler/optimizing/nodes.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 946091f70d..938d6fcd64 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -127,7 +127,7 @@ class HGraph : public ArenaObject<kArenaAllocMisc> { number_of_vregs_(0), number_of_in_vregs_(0), temporaries_vreg_slots_(0), - has_array_accesses_(false), + has_bounds_checks_(false), debuggable_(debuggable), current_instruction_id_(start_instruction_id), cached_null_constant_(nullptr), @@ -230,12 +230,12 @@ class HGraph : public ArenaObject<kArenaAllocMisc> { return linear_order_; } - bool HasArrayAccesses() const { - return has_array_accesses_; + bool HasBoundsChecks() const { + return has_bounds_checks_; } - void SetHasArrayAccesses(bool value) { - has_array_accesses_ = value; + void SetHasBoundsChecks(bool value) { + has_bounds_checks_ = value; } bool IsDebuggable() const { return debuggable_; } @@ -295,8 +295,8 @@ class HGraph : public ArenaObject<kArenaAllocMisc> { // Number of vreg size slots that the temporaries use (used in baseline compiler). size_t temporaries_vreg_slots_; - // Has array accesses. We can totally skip BCE if it's false. - bool has_array_accesses_; + // Has bounds checks. We can totally skip BCE if it's false. + bool has_bounds_checks_; // Indicates whether the graph should be compiled in a way that // ensures full debuggability. If false, we can apply more |