Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: src/compiler/bytecode-analysis.h

Issue 2552723004: [ignition/turbofan] Wrap bytecode liveness bitvectors (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/bit-vector.h ('k') | src/compiler/bytecode-analysis.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/bytecode-analysis.h
diff --git a/src/compiler/bytecode-analysis.h b/src/compiler/bytecode-analysis.h
index 00f7ab5a75e735353e31ba0861cf5d50589d3f45..1e443575b59090b5d2eba40e1ba73c16e35b856b 100644
--- a/src/compiler/bytecode-analysis.h
+++ b/src/compiler/bytecode-analysis.h
@@ -36,17 +36,11 @@ class V8_EXPORT_PRIVATE BytecodeAnalysis BASE_EMBEDDED {
// at {header_offset}, or -1 for outer-most loops.
int GetParentLoopFor(int header_offset) const;
- // Gets the in-liveness for the bytecode at {offset}. The liveness bit vector
- // represents the liveness of the registers and the accumulator, with the last
- // bit being the accumulator liveness bit, and so is (register count + 1) bits
- // long.
- const BitVector* GetInLivenessFor(int offset) const;
-
- // Gets the out-liveness for the bytecode at {offset}. The liveness bit vector
- // represents the liveness of the registers and the accumulator, with the last
- // bit being the accumulator liveness bit, and so is (register count + 1) bits
- // long.
- const BitVector* GetOutLivenessFor(int offset) const;
+ // Gets the in-liveness for the bytecode at {offset}.
+ const BytecodeLivenessState* GetInLivenessFor(int offset) const;
+
+ // Gets the out-liveness for the bytecode at {offset}.
+ const BytecodeLivenessState* GetOutLivenessFor(int offset) const;
std::ostream& PrintLivenessTo(std::ostream& os) const;
« no previous file with comments | « src/bit-vector.h ('k') | src/compiler/bytecode-analysis.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698