| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 632   LChunkBase(CompilationInfo* info, HGraph* graph) | 632   LChunkBase(CompilationInfo* info, HGraph* graph) | 
| 633     : spill_slot_count_(0), | 633     : spill_slot_count_(0), | 
| 634       info_(info), | 634       info_(info), | 
| 635       graph_(graph), | 635       graph_(graph), | 
| 636       instructions_(32, graph->zone()), | 636       instructions_(32, graph->zone()), | 
| 637       pointer_maps_(8, graph->zone()), | 637       pointer_maps_(8, graph->zone()), | 
| 638       inlined_closures_(1, graph->zone()) { } | 638       inlined_closures_(1, graph->zone()) { } | 
| 639 | 639 | 
| 640   void AddInstruction(LInstruction* instruction, HBasicBlock* block); | 640   void AddInstruction(LInstruction* instruction, HBasicBlock* block); | 
| 641   LConstantOperand* DefineConstantOperand(HConstant* constant); | 641   LConstantOperand* DefineConstantOperand(HConstant* constant); | 
| 642   Handle<Object> LookupLiteral(LConstantOperand* operand) const; | 642   HConstant* LookupConstant(LConstantOperand* operand) const; | 
| 643   Representation LookupLiteralRepresentation(LConstantOperand* operand) const; | 643   Representation LookupLiteralRepresentation(LConstantOperand* operand) const; | 
| 644 | 644 | 
| 645   int ParameterAt(int index); | 645   int ParameterAt(int index); | 
| 646   int GetParameterStackSlot(int index) const; | 646   int GetParameterStackSlot(int index) const; | 
| 647   int spill_slot_count() const { return spill_slot_count_; } | 647   int spill_slot_count() const { return spill_slot_count_; } | 
| 648   CompilationInfo* info() const { return info_; } | 648   CompilationInfo* info() const { return info_; } | 
| 649   HGraph* graph() const { return graph_; } | 649   HGraph* graph() const { return graph_; } | 
| 650   const ZoneList<LInstruction*>* instructions() const { return &instructions_; } | 650   const ZoneList<LInstruction*>* instructions() const { return &instructions_; } | 
| 651   void AddGapMove(int index, LOperand* from, LOperand* to); | 651   void AddGapMove(int index, LOperand* from, LOperand* to); | 
| 652   LGap* GetGapAt(int index) const; | 652   LGap* GetGapAt(int index) const; | 
| (...skipping 26 matching lines...) Expand all  Loading... | 
| 679   ZoneList<Handle<JSFunction> > inlined_closures_; | 679   ZoneList<Handle<JSFunction> > inlined_closures_; | 
| 680 }; | 680 }; | 
| 681 | 681 | 
| 682 | 682 | 
| 683 int ElementsKindToShiftSize(ElementsKind elements_kind); | 683 int ElementsKindToShiftSize(ElementsKind elements_kind); | 
| 684 | 684 | 
| 685 | 685 | 
| 686 } }  // namespace v8::internal | 686 } }  // namespace v8::internal | 
| 687 | 687 | 
| 688 #endif  // V8_LITHIUM_H_ | 688 #endif  // V8_LITHIUM_H_ | 
| OLD | NEW | 
|---|