summaryrefslogtreecommitdiff
path: root/runtime/base/bit_vector.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2014-05-12 16:11:02 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2014-05-13 09:06:14 +0100
commit622d9c31febd950255b36a48b47e1f630197c5fe (patch)
tree8a7f14ce3c6c087955ad5fe91a3ce7d5b5a82461 /runtime/base/bit_vector.h
parent98a8a542f95e41c09d214a329a940b270f08f5b3 (diff)
Add loop recognition and CFG simplifications in new compiler.
We do three simplifications: - Split critical edges, for code generation from SSA (new). - Ensure one back edge per loop, to simplify loop recognition (new). - Ensure only one pre header for a loop, to simplify SSA creation (existing). Change-Id: I9bfccd4b236a00486a261078627b091c8a68be33
Diffstat (limited to 'runtime/base/bit_vector.h')
-rw-r--r--runtime/base/bit_vector.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/base/bit_vector.h b/runtime/base/bit_vector.h
index 6ee6b00e07..2a6839619a 100644
--- a/runtime/base/bit_vector.h
+++ b/runtime/base/bit_vector.h
@@ -148,11 +148,11 @@ class BitVector {
bool EnsureSizeAndClear(unsigned int num);
- void Dump(std::ostream& os, const char* prefix);
- void DumpDot(FILE* file, const char* prefix, bool last_entry = false);
+ void Dump(std::ostream& os, const char* prefix) const;
+ void DumpDot(FILE* file, const char* prefix, bool last_entry = false) const;
protected:
- void DumpHelper(std::ostringstream& buffer, const char* prefix);
+ void DumpHelper(std::ostringstream& buffer, const char* prefix) const;
private:
Allocator* const allocator_;