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

Side by Side Diff: src/lithium.h

Issue 24795002: Thumb2 Backend: Use sp-relative offsets for stack slot operations in Crankshaft Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 2 months 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/arm/lithium-codegen-arm.cc ('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 777 matching lines...) Expand 10 before | Expand all | Expand 10 after
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); 797 int ElementsKindToShiftSize(ElementsKind elements_kind);
798 int StackSlotOffset(int index); 798 int StackSlotOffset(int index, int fp_sp_delta);
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 }; 803 };
804 804
805 805
806 class LPhase : public CompilationPhase { 806 class LPhase : public CompilationPhase {
807 public: 807 public:
808 LPhase(const char* name, LChunk* chunk) 808 LPhase(const char* name, LChunk* chunk)
809 : CompilationPhase(name, chunk->info()), 809 : CompilationPhase(name, chunk->info()),
810 chunk_(chunk) { } 810 chunk_(chunk) { }
811 ~LPhase(); 811 ~LPhase();
812 812
813 private: 813 private:
814 LChunk* chunk_; 814 LChunk* chunk_;
815 815
816 DISALLOW_COPY_AND_ASSIGN(LPhase); 816 DISALLOW_COPY_AND_ASSIGN(LPhase);
817 }; 817 };
818 818
819 819
820 } } // namespace v8::internal 820 } } // namespace v8::internal
821 821
822 #endif // V8_LITHIUM_H_ 822 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/arm/lithium-codegen-arm.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698