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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
687 Handle<Code> Codegen(Code::Kind kind); | 687 Handle<Code> Codegen(Code::Kind kind); |
688 | 688 |
689 void set_allocated_double_registers(BitVector* allocated_registers); | 689 void set_allocated_double_registers(BitVector* allocated_registers); |
690 BitVector* allocated_double_registers() { | 690 BitVector* allocated_double_registers() { |
691 return allocated_double_registers_; | 691 return allocated_double_registers_; |
692 } | 692 } |
693 | 693 |
694 protected: | 694 protected: |
695 LChunk(CompilationInfo* info, HGraph* graph); | 695 LChunk(CompilationInfo* info, HGraph* graph); |
696 | 696 |
697 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); | |
698 | |
699 int spill_slot_count_; | 697 int spill_slot_count_; |
700 | 698 |
701 private: | 699 private: |
702 CompilationInfo* info_; | 700 CompilationInfo* info_; |
703 HGraph* const graph_; | 701 HGraph* const graph_; |
704 BitVector* allocated_double_registers_; | 702 BitVector* allocated_double_registers_; |
705 ZoneList<LInstruction*> instructions_; | 703 ZoneList<LInstruction*> instructions_; |
706 ZoneList<LPointerMap*> pointer_maps_; | 704 ZoneList<LPointerMap*> pointer_maps_; |
707 ZoneList<Handle<JSFunction> > inlined_closures_; | 705 ZoneList<Handle<JSFunction> > inlined_closures_; |
708 }; | 706 }; |
709 | 707 |
710 | 708 |
711 int ElementsKindToShiftSize(ElementsKind elements_kind); | 709 int ElementsKindToShiftSize(ElementsKind elements_kind); |
712 int StackSlotOffset(int index); | 710 int StackSlotOffset(int index); |
713 | 711 |
714 enum NumberUntagDMode { | 712 enum NumberUntagDMode { |
715 NUMBER_CANDIDATE_IS_SMI, | 713 NUMBER_CANDIDATE_IS_SMI, |
716 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, | 714 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, |
717 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, | 715 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, |
718 NUMBER_CANDIDATE_IS_ANY_TAGGED | 716 NUMBER_CANDIDATE_IS_ANY_TAGGED |
719 }; | 717 }; |
720 | 718 |
721 | 719 |
722 } } // namespace v8::internal | 720 } } // namespace v8::internal |
723 | 721 |
724 #endif // V8_LITHIUM_H_ | 722 #endif // V8_LITHIUM_H_ |
OLD | NEW |