| 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 7162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7173 | 7173 |
| 7174 __ bind(&need_incremental_pop_scratch); | 7174 __ bind(&need_incremental_pop_scratch); |
| 7175 __ Pop(regs_.object(), regs_.address()); | 7175 __ Pop(regs_.object(), regs_.address()); |
| 7176 | 7176 |
| 7177 __ bind(&need_incremental); | 7177 __ bind(&need_incremental); |
| 7178 | 7178 |
| 7179 // Fall through when we need to inform the incremental marker. | 7179 // Fall through when we need to inform the incremental marker. |
| 7180 } | 7180 } |
| 7181 | 7181 |
| 7182 | 7182 |
| 7183 void FastElementsConversionStub::GenerateSmiOnlyToObject(MacroAssembler* masm) { | 7183 void FastElementsConversionStub::GenerateSmiOnlyToObject( |
| 7184 MacroAssembler* masm, |
| 7185 StrictModeFlag strict_mode) { |
| 7184 // ----------- S t a t e ------------- | 7186 // ----------- S t a t e ------------- |
| 7185 // -- r0 : value | 7187 // -- r0 : value |
| 7186 // -- r1 : key | 7188 // -- r1 : key |
| 7187 // -- r2 : receiver | 7189 // -- r2 : receiver |
| 7188 // -- lr : return address | 7190 // -- lr : return address |
| 7189 // -- r3 : target map, scratch for subsequent call | 7191 // -- r3 : target map, scratch for subsequent call |
| 7190 // -- r4 : scratch (elements) | 7192 // -- r4 : scratch (elements) |
| 7191 // ----------------------------------- | 7193 // ----------------------------------- |
| 7192 // Set transitioned map. | 7194 // Set transitioned map. |
| 7193 __ str(r3, FieldMemOperand(r2, HeapObject::kMapOffset)); | 7195 __ str(r3, FieldMemOperand(r2, HeapObject::kMapOffset)); |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7417 OMIT_SMI_CHECK); | 7419 OMIT_SMI_CHECK); |
| 7418 __ pop(lr); | 7420 __ pop(lr); |
| 7419 } | 7421 } |
| 7420 | 7422 |
| 7421 | 7423 |
| 7422 #undef __ | 7424 #undef __ |
| 7423 | 7425 |
| 7424 } } // namespace v8::internal | 7426 } } // namespace v8::internal |
| 7425 | 7427 |
| 7426 #endif // V8_TARGET_ARCH_ARM | 7428 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |