| 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 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 784 private: | 784 private: |
| 785 CompilationInfo* info_; | 785 CompilationInfo* info_; |
| 786 HGraph* const graph_; | 786 HGraph* const graph_; |
| 787 BitVector* allocated_double_registers_; | 787 BitVector* allocated_double_registers_; |
| 788 ZoneList<LInstruction*> instructions_; | 788 ZoneList<LInstruction*> instructions_; |
| 789 ZoneList<LPointerMap*> pointer_maps_; | 789 ZoneList<LPointerMap*> pointer_maps_; |
| 790 ZoneList<Handle<JSFunction> > inlined_closures_; | 790 ZoneList<Handle<JSFunction> > inlined_closures_; |
| 791 }; | 791 }; |
| 792 | 792 |
| 793 | 793 |
| 794 int ElementsKindToShiftSize(ElementsKind elements_kind); | |
| 795 int StackSlotOffset(int index); | 794 int StackSlotOffset(int index); |
| 796 | 795 |
| 797 enum NumberUntagDMode { | 796 enum NumberUntagDMode { |
| 798 NUMBER_CANDIDATE_IS_SMI, | 797 NUMBER_CANDIDATE_IS_SMI, |
| 799 NUMBER_CANDIDATE_IS_ANY_TAGGED | 798 NUMBER_CANDIDATE_IS_ANY_TAGGED |
| 800 }; | 799 }; |
| 801 | 800 |
| 802 | 801 |
| 803 class LPhase : public CompilationPhase { | 802 class LPhase : public CompilationPhase { |
| 804 public: | 803 public: |
| 805 LPhase(const char* name, LChunk* chunk) | 804 LPhase(const char* name, LChunk* chunk) |
| 806 : CompilationPhase(name, chunk->info()), | 805 : CompilationPhase(name, chunk->info()), |
| 807 chunk_(chunk) { } | 806 chunk_(chunk) { } |
| 808 ~LPhase(); | 807 ~LPhase(); |
| 809 | 808 |
| 810 private: | 809 private: |
| 811 LChunk* chunk_; | 810 LChunk* chunk_; |
| 812 | 811 |
| 813 DISALLOW_COPY_AND_ASSIGN(LPhase); | 812 DISALLOW_COPY_AND_ASSIGN(LPhase); |
| 814 }; | 813 }; |
| 815 | 814 |
| 816 | 815 |
| 817 } } // namespace v8::internal | 816 } } // namespace v8::internal |
| 818 | 817 |
| 819 #endif // V8_LITHIUM_H_ | 818 #endif // V8_LITHIUM_H_ |
| OLD | NEW |