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

Unified Diff: src/ia32/lithium-ia32.h

Issue 10700115: Break Crankshaft into phases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review. Created 8 years, 5 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
Index: src/ia32/lithium-ia32.h
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h
index 09cb17bd6237bc36edaaa99c3480007bf4cdf4dd..e0bf172c20198495c6d8ba023c66ba40ea151308 100644
--- a/src/ia32/lithium-ia32.h
+++ b/src/ia32/lithium-ia32.h
@@ -2327,9 +2327,12 @@ class LChunk: public LChunkBase {
int GetNextSpillIndex(bool is_double);
LOperand* GetNextSpillSlot(bool is_double);
-
int num_double_slots() const { return num_double_slots_; }
+ static LChunk* cast(LChunkBase* chunk_base) {
+ return reinterpret_cast<LChunk*>(chunk_base);
+ }
+
private:
int num_double_slots_;
};

Powered by Google App Engine
This is Rietveld 408576698