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

Side by Side Diff: src/crankshaft/lithium.h

Issue 1555743003: [turbofan] Port Crankshaft's weak objects mechanism to TurboFan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « src/compiler.cc ('k') | src/crankshaft/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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_CRANKSHAFT_LITHIUM_H_ 5 #ifndef V8_CRANKSHAFT_LITHIUM_H_
6 #define V8_CRANKSHAFT_LITHIUM_H_ 6 #define V8_CRANKSHAFT_LITHIUM_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
683 BitVector* allocated_double_registers() { 683 BitVector* allocated_double_registers() {
684 return allocated_double_registers_; 684 return allocated_double_registers_;
685 } 685 }
686 686
687 protected: 687 protected:
688 LChunk(CompilationInfo* info, HGraph* graph); 688 LChunk(CompilationInfo* info, HGraph* graph);
689 689
690 int spill_slot_count_; 690 int spill_slot_count_;
691 691
692 private: 692 private:
693 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const;
694 void CommitDependencies(Handle<Code> code) const; 693 void CommitDependencies(Handle<Code> code) const;
695 694
696 CompilationInfo* info_; 695 CompilationInfo* info_;
697 HGraph* const graph_; 696 HGraph* const graph_;
698 BitVector* allocated_double_registers_; 697 BitVector* allocated_double_registers_;
699 ZoneList<LInstruction*> instructions_; 698 ZoneList<LInstruction*> instructions_;
700 ZoneList<LPointerMap*> pointer_maps_; 699 ZoneList<LPointerMap*> pointer_maps_;
701 ZoneList<Handle<SharedFunctionInfo>> inlined_functions_; 700 ZoneList<Handle<SharedFunctionInfo>> inlined_functions_;
702 ZoneList<Handle<Map>> deprecation_dependencies_; 701 ZoneList<Handle<Map>> deprecation_dependencies_;
703 ZoneList<Handle<Map>> stability_dependencies_; 702 ZoneList<Handle<Map>> stability_dependencies_;
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 InputIterator input_iterator_; 831 InputIterator input_iterator_;
833 DeepIterator env_iterator_; 832 DeepIterator env_iterator_;
834 }; 833 };
835 834
836 class LInstruction; 835 class LInstruction;
837 class LCodeGen; 836 class LCodeGen;
838 } // namespace internal 837 } // namespace internal
839 } // namespace v8 838 } // namespace v8
840 839
841 #endif // V8_CRANKSHAFT_LITHIUM_H_ 840 #endif // V8_CRANKSHAFT_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/crankshaft/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698