| 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 671 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 682 } | 682 } |
| 683 | 683 |
| 684 | 684 |
| 685 void LCodeGen::RecordSafepoint(LPointerMap* pointers, | 685 void LCodeGen::RecordSafepoint(LPointerMap* pointers, |
| 686 int deoptimization_index) { | 686 int deoptimization_index) { |
| 687 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index); | 687 RecordSafepoint(pointers, Safepoint::kSimple, 0, deoptimization_index); |
| 688 } | 688 } |
| 689 | 689 |
| 690 | 690 |
| 691 void LCodeGen::RecordSafepoint(int deoptimization_index) { | 691 void LCodeGen::RecordSafepoint(int deoptimization_index) { |
| 692 LPointerMap empty_pointers(RelocInfo::kNoPosition); | 692 LPointerMap empty_pointers(zone(), RelocInfo::kNoPosition); |
| 693 RecordSafepoint(&empty_pointers, deoptimization_index); | 693 RecordSafepoint(&empty_pointers, deoptimization_index); |
| 694 } | 694 } |
| 695 | 695 |
| 696 | 696 |
| 697 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 697 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
| 698 int arguments, | 698 int arguments, |
| 699 int deoptimization_index) { | 699 int deoptimization_index) { |
| 700 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, | 700 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, |
| 701 deoptimization_index); | 701 deoptimization_index); |
| 702 } | 702 } |
| (...skipping 3560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4263 env->deoptimization_index()); | 4263 env->deoptimization_index()); |
| 4264 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); | 4264 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); |
| 4265 } | 4265 } |
| 4266 | 4266 |
| 4267 | 4267 |
| 4268 #undef __ | 4268 #undef __ |
| 4269 | 4269 |
| 4270 } } // namespace v8::internal | 4270 } } // namespace v8::internal |
| 4271 | 4271 |
| 4272 #endif // V8_TARGET_ARCH_IA32 | 4272 #endif // V8_TARGET_ARCH_IA32 |
| OLD | NEW |