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

Side by Side Diff: src/lithium-allocator.h

Issue 11498006: Revert 13157, 13145 and 13140: Crankshaft code stubs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years 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/lithium.cc ('k') | src/lithium-allocator.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 590 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 LPlatformChunk* chunk_; 601 LPlatformChunk* chunk_;
602 602
603 // During liveness analysis keep a mapping from block id to live_in sets 603 // During liveness analysis keep a mapping from block id to live_in sets
604 // for blocks already analyzed. 604 // for blocks already analyzed.
605 ZoneList<BitVector*> live_in_sets_; 605 ZoneList<BitVector*> live_in_sets_;
606 606
607 // Liveness analysis results. 607 // Liveness analysis results.
608 ZoneList<LiveRange*> live_ranges_; 608 ZoneList<LiveRange*> live_ranges_;
609 609
610 // Lists of live ranges 610 // Lists of live ranges
611 EmbeddedVector<LiveRange*, Register::kMaxNumAllocatableRegisters> 611 EmbeddedVector<LiveRange*, Register::kNumAllocatableRegisters>
612 fixed_live_ranges_; 612 fixed_live_ranges_;
613 EmbeddedVector<LiveRange*, DoubleRegister::kMaxNumAllocatableRegisters> 613 EmbeddedVector<LiveRange*, DoubleRegister::kNumAllocatableRegisters>
614 fixed_double_live_ranges_; 614 fixed_double_live_ranges_;
615 ZoneList<LiveRange*> unhandled_live_ranges_; 615 ZoneList<LiveRange*> unhandled_live_ranges_;
616 ZoneList<LiveRange*> active_live_ranges_; 616 ZoneList<LiveRange*> active_live_ranges_;
617 ZoneList<LiveRange*> inactive_live_ranges_; 617 ZoneList<LiveRange*> inactive_live_ranges_;
618 ZoneList<LiveRange*> reusable_slots_; 618 ZoneList<LiveRange*> reusable_slots_;
619 619
620 // Next virtual register number to be assigned to temporaries. 620 // Next virtual register number to be assigned to temporaries.
621 int next_virtual_register_; 621 int next_virtual_register_;
622 int first_artificial_register_; 622 int first_artificial_register_;
623 GrowableBitVector double_artificial_registers_; 623 GrowableBitVector double_artificial_registers_;
624 624
625 RegisterKind mode_; 625 RegisterKind mode_;
626 int num_registers_; 626 int num_registers_;
627 627
628 HGraph* graph_; 628 HGraph* graph_;
629 629
630 bool has_osr_entry_; 630 bool has_osr_entry_;
631 631
632 // Indicates success or failure during register allocation. 632 // Indicates success or failure during register allocation.
633 bool allocation_ok_; 633 bool allocation_ok_;
634 634
635 DISALLOW_COPY_AND_ASSIGN(LAllocator); 635 DISALLOW_COPY_AND_ASSIGN(LAllocator);
636 }; 636 };
637 637
638 638
639 } } // namespace v8::internal 639 } } // namespace v8::internal
640 640
641 #endif // V8_LITHIUM_ALLOCATOR_H_ 641 #endif // V8_LITHIUM_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « src/lithium.cc ('k') | src/lithium-allocator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698