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