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 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
755 enum NumberUntagDMode { | 755 enum NumberUntagDMode { |
756 NUMBER_CANDIDATE_IS_SMI, | 756 NUMBER_CANDIDATE_IS_SMI, |
757 NUMBER_CANDIDATE_IS_ANY_TAGGED, | 757 NUMBER_CANDIDATE_IS_ANY_TAGGED, |
758 NUMBER_CANDIDATE_IS_ANY_TAGGED_CONVERT_HOLE | 758 NUMBER_CANDIDATE_IS_ANY_TAGGED_CONVERT_HOLE |
759 }; | 759 }; |
760 | 760 |
761 | 761 |
762 class LPhase : public CompilationPhase { | 762 class LPhase : public CompilationPhase { |
763 public: | 763 public: |
764 LPhase(const char* name, LChunk* chunk) | 764 LPhase(const char* name, LChunk* chunk) |
765 : CompilationPhase(name, chunk->isolate(), chunk->zone()), | 765 : CompilationPhase(name, chunk->info()), |
766 chunk_(chunk) { } | 766 chunk_(chunk) { } |
767 ~LPhase(); | 767 ~LPhase(); |
768 | 768 |
769 private: | 769 private: |
770 LChunk* chunk_; | 770 LChunk* chunk_; |
771 | 771 |
772 DISALLOW_COPY_AND_ASSIGN(LPhase); | 772 DISALLOW_COPY_AND_ASSIGN(LPhase); |
773 }; | 773 }; |
774 | 774 |
775 | 775 |
776 } } // namespace v8::internal | 776 } } // namespace v8::internal |
777 | 777 |
778 #endif // V8_LITHIUM_H_ | 778 #endif // V8_LITHIUM_H_ |
OLD | NEW |