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

Unified Diff: src/lithium-allocator-inl.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-allocator.cc ('k') | src/runtime.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lithium-allocator-inl.h
diff --git a/src/lithium-allocator-inl.h b/src/lithium-allocator-inl.h
index 1f59cb47783fac74a42fb94502e97eecc352ab54..a6d053aa72c2bf553c258b507fea6808d239121e 100644
--- a/src/lithium-allocator-inl.h
+++ b/src/lithium-allocator-inl.h
@@ -144,6 +144,21 @@ void UseIterator::Advance() {
: input_iterator_.Advance();
}
+
+void LAllocator::SetLiveRangeAssignedRegister(
+ LiveRange* range,
+ int reg,
+ RegisterKind register_kind,
+ Zone* zone) {
+ if (register_kind == DOUBLE_REGISTERS) {
+ assigned_double_registers_->Add(reg);
+ } else {
+ assigned_registers_->Add(reg);
+ }
+ range->set_assigned_register(reg, register_kind, zone);
+}
+
+
} } // namespace v8::internal
#endif // V8_LITHIUM_ALLOCATOR_INL_H_
« no previous file with comments | « src/lithium-allocator.cc ('k') | src/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698