OLD | NEW |
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 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 : spill_slot_count_(0), | 689 : spill_slot_count_(0), |
690 info_(info), | 690 info_(info), |
691 graph_(graph), | 691 graph_(graph), |
692 instructions_(32, graph->zone()), | 692 instructions_(32, graph->zone()), |
693 pointer_maps_(8, graph->zone()), | 693 pointer_maps_(8, graph->zone()), |
694 inlined_closures_(1, graph->zone()) { } | 694 inlined_closures_(1, graph->zone()) { } |
695 | 695 |
696 int spill_slot_count_; | 696 int spill_slot_count_; |
697 | 697 |
698 private: | 698 private: |
| 699 void RegisterDependentCodeForEmbeddedMaps(Handle<Code> code); |
699 CompilationInfo* info_; | 700 CompilationInfo* info_; |
700 HGraph* const graph_; | 701 HGraph* const graph_; |
701 ZoneList<LInstruction*> instructions_; | 702 ZoneList<LInstruction*> instructions_; |
702 ZoneList<LPointerMap*> pointer_maps_; | 703 ZoneList<LPointerMap*> pointer_maps_; |
703 ZoneList<Handle<JSFunction> > inlined_closures_; | 704 ZoneList<Handle<JSFunction> > inlined_closures_; |
704 }; | 705 }; |
705 | 706 |
706 | 707 |
707 int ElementsKindToShiftSize(ElementsKind elements_kind); | 708 int ElementsKindToShiftSize(ElementsKind elements_kind); |
708 | 709 |
709 | 710 |
710 } } // namespace v8::internal | 711 } } // namespace v8::internal |
711 | 712 |
712 #endif // V8_LITHIUM_H_ | 713 #endif // V8_LITHIUM_H_ |
OLD | NEW |