| OLD | NEW |
| 1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 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 745 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 } | 756 } |
| 757 | 757 |
| 758 | 758 |
| 759 void LCodeGen::RecordSafepoint(LPointerMap* pointers, | 759 void LCodeGen::RecordSafepoint(LPointerMap* pointers, |
| 760 int deoptimization_index) { | 760 int deoptimization_index) { |
| 761 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index); | 761 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index); |
| 762 } | 762 } |
| 763 | 763 |
| 764 | 764 |
| 765 void LCodeGen::RecordSafepoint(int deoptimization_index) { | 765 void LCodeGen::RecordSafepoint(int deoptimization_index) { |
| 766 LPointerMap empty_pointers(RelocInfo::kNoPosition); | 766 LPointerMap empty_pointers(zone(), RelocInfo::kNoPosition); |
| 767 RecordSafepoint(&empty_pointers, deoptimization_index); | 767 RecordSafepoint(&empty_pointers, deoptimization_index); |
| 768 } | 768 } |
| 769 | 769 |
| 770 | 770 |
| 771 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 771 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 772 int arguments, | 772 int arguments, |
| 773 int deoptimization_index) { | 773 int deoptimization_index) { |
| 774 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, | 774 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, |
| 775 deoptimization_index); | 775 deoptimization_index); |
| 776 } | 776 } |
| (...skipping 3623 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4400 ASSERT(osr_pc_offset_ == -1); | 4400 ASSERT(osr_pc_offset_ == -1); |
| 4401 osr_pc_offset_ = masm()->pc_offset(); | 4401 osr_pc_offset_ = masm()->pc_offset(); |
| 4402 } | 4402 } |
| 4403 | 4403 |
| 4404 | 4404 |
| 4405 | 4405 |
| 4406 | 4406 |
| 4407 #undef __ | 4407 #undef __ |
| 4408 | 4408 |
| 4409 } } // namespace v8::internal | 4409 } } // namespace v8::internal |
| OLD | NEW |