Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/lithium.h

Issue 80653002: Merged r17800, r17801 into 3.21 branch. (Closed) Base URL: https://v8.googlecode.com/svn/branches/3.21
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/lithium.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 776 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 private: 787 private:
788 CompilationInfo* info_; 788 CompilationInfo* info_;
789 HGraph* const graph_; 789 HGraph* const graph_;
790 BitVector* allocated_double_registers_; 790 BitVector* allocated_double_registers_;
791 ZoneList<LInstruction*> instructions_; 791 ZoneList<LInstruction*> instructions_;
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);
798 int StackSlotOffset(int index); 797 int StackSlotOffset(int index);
799 798
800 enum NumberUntagDMode { 799 enum NumberUntagDMode {
801 NUMBER_CANDIDATE_IS_SMI, 800 NUMBER_CANDIDATE_IS_SMI,
802 NUMBER_CANDIDATE_IS_ANY_TAGGED 801 NUMBER_CANDIDATE_IS_ANY_TAGGED
803 }; 802 };
804 803
805 804
806 class LPhase : public CompilationPhase { 805 class LPhase : public CompilationPhase {
807 public: 806 public:
808 LPhase(const char* name, LChunk* chunk) 807 LPhase(const char* name, LChunk* chunk)
809 : CompilationPhase(name, chunk->info()), 808 : CompilationPhase(name, chunk->info()),
810 chunk_(chunk) { } 809 chunk_(chunk) { }
811 ~LPhase(); 810 ~LPhase();
812 811
813 private: 812 private:
814 LChunk* chunk_; 813 LChunk* chunk_;
815 814
816 DISALLOW_COPY_AND_ASSIGN(LPhase); 815 DISALLOW_COPY_AND_ASSIGN(LPhase);
817 }; 816 };
818 817
819 818
820 } } // namespace v8::internal 819 } } // namespace v8::internal
821 820
822 #endif // V8_LITHIUM_H_ 821 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/hydrogen-instructions.h ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698