Chromium Code Reviews| 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_; |