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 667 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
678 const ZoneList<Handle<JSFunction> >* inlined_closures() const { | 678 const ZoneList<Handle<JSFunction> >* inlined_closures() const { |
679 return &inlined_closures_; | 679 return &inlined_closures_; |
680 } | 680 } |
681 | 681 |
682 void AddInlinedClosure(Handle<JSFunction> closure) { | 682 void AddInlinedClosure(Handle<JSFunction> closure) { |
683 inlined_closures_.Add(closure, zone()); | 683 inlined_closures_.Add(closure, zone()); |
684 } | 684 } |
685 | 685 |
686 Zone* zone() const { return info_->zone(); } | 686 Zone* zone() const { return info_->zone(); } |
687 | 687 |
688 Handle<Code> Codegen(Code::Kind kind); | 688 Handle<Code> Codegen(); |
689 | 689 |
690 void set_allocated_double_registers(BitVector* allocated_registers); | 690 void set_allocated_double_registers(BitVector* allocated_registers); |
691 BitVector* allocated_double_registers() { | 691 BitVector* allocated_double_registers() { |
692 return allocated_double_registers_; | 692 return allocated_double_registers_; |
693 } | 693 } |
694 | 694 |
695 protected: | 695 protected: |
696 LChunk(CompilationInfo* info, HGraph* graph); | 696 LChunk(CompilationInfo* info, HGraph* graph); |
697 | 697 |
698 int spill_slot_count_; | 698 int spill_slot_count_; |
(...skipping 15 matching lines...) Expand all Loading... |
714 NUMBER_CANDIDATE_IS_SMI, | 714 NUMBER_CANDIDATE_IS_SMI, |
715 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, | 715 NUMBER_CANDIDATE_IS_SMI_OR_HOLE, |
716 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, | 716 NUMBER_CANDIDATE_IS_SMI_CONVERT_HOLE, |
717 NUMBER_CANDIDATE_IS_ANY_TAGGED | 717 NUMBER_CANDIDATE_IS_ANY_TAGGED |
718 }; | 718 }; |
719 | 719 |
720 | 720 |
721 } } // namespace v8::internal | 721 } } // namespace v8::internal |
722 | 722 |
723 #endif // V8_LITHIUM_H_ | 723 #endif // V8_LITHIUM_H_ |
OLD | NEW |