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

Unified Diff: src/lithium.h

Issue 10700115: Break Crankshaft into phases. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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/lithium.h
diff --git a/src/lithium.h b/src/lithium.h
index 686441e3834ebc375eb1e0781d69c45e81954b2a..183d50800ea4af292fe0530140850c32c77d7893 100644
--- a/src/lithium.h
+++ b/src/lithium.h
@@ -622,6 +622,7 @@ class DeepIterator BASE_EMBEDDED {
};
+class LChunk;
class LGap;
class LLabel;
@@ -637,6 +638,8 @@ class LChunkBase: public ZoneObject {
pointer_maps_(8, graph->zone()),
inlined_closures_(1, graph->zone()) { }
+ static LChunk* NewChunk(HGraph* graph);
+
void AddInstruction(LInstruction* instruction, HBasicBlock* block);
LConstantOperand* DefineConstantOperand(HConstant* constant);
HConstant* LookupConstant(LConstantOperand* operand) const;
@@ -670,6 +673,7 @@ class LChunkBase: public ZoneObject {
protected:
int spill_slot_count_;
+ static Handle<Code> Codegen(LChunk* chunk);
danno 2012/07/12 08:38:03 Why do you need to make this static? If you make i
sanjoy 2012/07/12 09:06:49 As I mentioned, LCodeGen specifically needs an LCh
private:
CompilationInfo* info_;
« src/hydrogen.cc ('K') | « src/ia32/lithium-ia32.h ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698