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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 | 686 |
687 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, | 687 void LCodeGen::RecordSafepointWithRegisters(LPointerMap* pointers, |
688 int arguments, | 688 int arguments, |
689 int deoptimization_index) { | 689 int deoptimization_index) { |
690 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, | 690 RecordSafepoint(pointers, Safepoint::kWithRegisters, arguments, |
691 deoptimization_index); | 691 deoptimization_index); |
692 } | 692 } |
693 | 693 |
694 | 694 |
695 void LCodeGen::RecordPosition(int position) { | 695 void LCodeGen::RecordPosition(int position) { |
696 if (!FLAG_debug_info || position == RelocInfo::kNoPosition) return; | 696 if (position == RelocInfo::kNoPosition) return; |
697 masm()->positions_recorder()->RecordPosition(position); | 697 masm()->positions_recorder()->RecordPosition(position); |
698 } | 698 } |
699 | 699 |
700 | 700 |
701 void LCodeGen::DoLabel(LLabel* label) { | 701 void LCodeGen::DoLabel(LLabel* label) { |
702 if (label->is_loop_header()) { | 702 if (label->is_loop_header()) { |
703 Comment(";;; B%d - LOOP entry", label->block_id()); | 703 Comment(";;; B%d - LOOP entry", label->block_id()); |
704 } else { | 704 } else { |
705 Comment(";;; B%d", label->block_id()); | 705 Comment(";;; B%d", label->block_id()); |
706 } | 706 } |
(...skipping 3752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4459 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); | 4459 __ mov(esi, Operand(ebp, StandardFrameConstants::kContextOffset)); |
4460 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); | 4460 __ InvokeBuiltin(Builtins::IN, CALL_FUNCTION, safepoint_generator); |
4461 } | 4461 } |
4462 | 4462 |
4463 | 4463 |
4464 #undef __ | 4464 #undef __ |
4465 | 4465 |
4466 } } // namespace v8::internal | 4466 } } // namespace v8::internal |
4467 | 4467 |
4468 #endif // V8_TARGET_ARCH_IA32 | 4468 #endif // V8_TARGET_ARCH_IA32 |
OLD | NEW |