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

Side by Side Diff: src/lithium.h

Issue 11575007: Make embedded maps in optimized code weak. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « src/heap.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 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 688
689 protected: 689 protected:
690 LChunk(CompilationInfo* info, HGraph* graph) 690 LChunk(CompilationInfo* info, HGraph* graph)
691 : spill_slot_count_(0), 691 : spill_slot_count_(0),
692 info_(info), 692 info_(info),
693 graph_(graph), 693 graph_(graph),
694 instructions_(32, graph->zone()), 694 instructions_(32, graph->zone()),
695 pointer_maps_(8, graph->zone()), 695 pointer_maps_(8, graph->zone()),
696 inlined_closures_(1, graph->zone()) { } 696 inlined_closures_(1, graph->zone()) { }
697 697
698 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code);
699
698 int spill_slot_count_; 700 int spill_slot_count_;
699 701
700 private: 702 private:
701 CompilationInfo* info_; 703 CompilationInfo* info_;
702 HGraph* const graph_; 704 HGraph* const graph_;
703 ZoneList<LInstruction*> instructions_; 705 ZoneList<LInstruction*> instructions_;
704 ZoneList<LPointerMap*> pointer_maps_; 706 ZoneList<LPointerMap*> pointer_maps_;
705 ZoneList<Handle<JSFunction> > inlined_closures_; 707 ZoneList<Handle<JSFunction> > inlined_closures_;
706 }; 708 };
707 709
708 710
709 int ElementsKindToShiftSize(ElementsKind elements_kind); 711 int ElementsKindToShiftSize(ElementsKind elements_kind);
710 712
711 713
712 } } // namespace v8::internal 714 } } // namespace v8::internal
713 715
714 #endif // V8_LITHIUM_H_ 716 #endif // V8_LITHIUM_H_
OLDNEW
« no previous file with comments | « src/heap.cc ('k') | src/lithium.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698