| 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 5924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5935 | 5935 |
| 5936 __ bind(&need_incremental_pop_object); | 5936 __ bind(&need_incremental_pop_object); |
| 5937 __ pop(regs_.object()); | 5937 __ pop(regs_.object()); |
| 5938 | 5938 |
| 5939 __ bind(&need_incremental); | 5939 __ bind(&need_incremental); |
| 5940 | 5940 |
| 5941 // Fall through when we need to inform the incremental marker. | 5941 // Fall through when we need to inform the incremental marker. |
| 5942 } | 5942 } |
| 5943 | 5943 |
| 5944 | 5944 |
| 5945 void FastElementsConversionStub::GenerateSmiOnlyToObject(MacroAssembler* masm) { | 5945 void FastElementsConversionStub::GenerateSmiOnlyToObject( |
| 5946 MacroAssembler* masm, |
| 5947 StrictModeFlag strict_mode) { |
| 5946 // ----------- S t a t e ------------- | 5948 // ----------- S t a t e ------------- |
| 5947 // -- rax : value | 5949 // -- rax : value |
| 5948 // -- rbx : target map | 5950 // -- rbx : target map |
| 5949 // -- rcx : key | 5951 // -- rcx : key |
| 5950 // -- rdx : receiver | 5952 // -- rdx : receiver |
| 5951 // -- rsp[0] : return address | 5953 // -- rsp[0] : return address |
| 5952 // ----------------------------------- | 5954 // ----------------------------------- |
| 5953 // Set transitioned map. | 5955 // Set transitioned map. |
| 5954 __ movq(FieldOperand(rdx, HeapObject::kMapOffset), rbx); | 5956 __ movq(FieldOperand(rdx, HeapObject::kMapOffset), rbx); |
| 5955 __ RecordWriteField(rdx, | 5957 __ RecordWriteField(rdx, |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6115 OMIT_SMI_CHECK); | 6117 OMIT_SMI_CHECK); |
| 6116 __ pop(rax); | 6118 __ pop(rax); |
| 6117 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); | 6119 __ movq(rsi, Operand(rbp, StandardFrameConstants::kContextOffset)); |
| 6118 } | 6120 } |
| 6119 | 6121 |
| 6120 #undef __ | 6122 #undef __ |
| 6121 | 6123 |
| 6122 } } // namespace v8::internal | 6124 } } // namespace v8::internal |
| 6123 | 6125 |
| 6124 #endif // V8_TARGET_ARCH_X64 | 6126 #endif // V8_TARGET_ARCH_X64 |
| OLD | NEW |