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

Side by Side Diff: src/lithium.h

Issue 866723002: Treat pointers in optimized code as strong before all weak dependencies are registered. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix check Created 5 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/ia32/lithium-codegen-ia32.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 // 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_LITHIUM_H_ 5 #ifndef V8_LITHIUM_H_
6 #define V8_LITHIUM_H_ 6 #define V8_LITHIUM_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "src/allocation.h" 10 #include "src/allocation.h"
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 protected: 676 protected:
677 LChunk(CompilationInfo* info, HGraph* graph); 677 LChunk(CompilationInfo* info, HGraph* graph);
678 678
679 int spill_slot_count_; 679 int spill_slot_count_;
680 680
681 private: 681 private:
682 typedef std::less<Handle<Map> > MapLess; 682 typedef std::less<Handle<Map> > MapLess;
683 typedef zone_allocator<Handle<Map> > MapAllocator; 683 typedef zone_allocator<Handle<Map> > MapAllocator;
684 typedef std::set<Handle<Map>, MapLess, MapAllocator> MapSet; 684 typedef std::set<Handle<Map>, MapLess, MapAllocator> MapSet;
685 685
686 void RegisterWeakObjectsInOptimizedCode(Handle<Code> code) const;
686 void CommitDependencies(Handle<Code> code) const; 687 void CommitDependencies(Handle<Code> code) const;
687 688
688 CompilationInfo* info_; 689 CompilationInfo* info_;
689 HGraph* const graph_; 690 HGraph* const graph_;
690 BitVector* allocated_double_registers_; 691 BitVector* allocated_double_registers_;
691 ZoneList<LInstruction*> instructions_; 692 ZoneList<LInstruction*> instructions_;
692 ZoneList<LPointerMap*> pointer_maps_; 693 ZoneList<LPointerMap*> pointer_maps_;
693 ZoneList<Handle<JSFunction> > inlined_closures_; 694 ZoneList<Handle<JSFunction> > inlined_closures_;
694 MapSet deprecation_dependencies_; 695 MapSet deprecation_dependencies_;
695 MapSet stability_dependencies_; 696 MapSet stability_dependencies_;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
823 private: 824 private:
824 InputIterator input_iterator_; 825 InputIterator input_iterator_;
825 DeepIterator env_iterator_; 826 DeepIterator env_iterator_;
826 }; 827 };
827 828
828 class LInstruction; 829 class LInstruction;
829 class LCodeGen; 830 class LCodeGen;
830 } } // namespace v8::internal 831 } } // namespace v8::internal
831 832
832 #endif // V8_LITHIUM_H_ 833 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/ia32/lithium-codegen-ia32.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698