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

Unified Diff: src/lithium-allocator.h

Issue 11659022: Generate the TransitionElementsStub using Crankshaft (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review feedback Created 7 years, 10 months 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/lithium.cc ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lithium-allocator.h
diff --git a/src/lithium-allocator.h b/src/lithium-allocator.h
index 9ea6641d9d5a0df19dfda8f85edbc5e6eb65ed95..2953550ae8e879742ed19d0c4a9bba6cfc5bf5af 100644
--- a/src/lithium-allocator.h
+++ b/src/lithium-allocator.h
@@ -445,6 +445,13 @@ class LAllocator BASE_EMBEDDED {
void Verify() const;
#endif
+ BitVector* assigned_registers() {
+ return assigned_registers_;
+ }
+ BitVector* assigned_double_registers() {
+ return assigned_double_registers_;
+ }
+
private:
void MeetRegisterConstraints();
void ResolvePhis();
@@ -537,6 +544,11 @@ class LAllocator BASE_EMBEDDED {
HBasicBlock* block,
HBasicBlock* pred);
+ inline void SetLiveRangeAssignedRegister(LiveRange* range,
+ int reg,
+ RegisterKind register_kind,
+ Zone* zone);
+
// Return parallel move that should be used to connect ranges split at the
// given position.
LParallelMove* GetConnectingParallelMove(LifetimePosition pos);
@@ -591,6 +603,9 @@ class LAllocator BASE_EMBEDDED {
RegisterKind mode_;
int num_registers_;
+ BitVector* assigned_registers_;
+ BitVector* assigned_double_registers_;
+
HGraph* graph_;
bool has_osr_entry_;
« no previous file with comments | « src/lithium.cc ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698