| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 7546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7557 // and value is Smi. | 7557 // and value is Smi. |
| 7558 __ bind(&smi_element); | 7558 __ bind(&smi_element); |
| 7559 __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); | 7559 __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); |
| 7560 __ add(r6, r5, Operand(r3, LSL, kPointerSizeLog2 - kSmiTagSize)); | 7560 __ add(r6, r5, Operand(r3, LSL, kPointerSizeLog2 - kSmiTagSize)); |
| 7561 __ str(r0, FieldMemOperand(r6, FixedArray::kHeaderSize)); | 7561 __ str(r0, FieldMemOperand(r6, FixedArray::kHeaderSize)); |
| 7562 __ Ret(); | 7562 __ Ret(); |
| 7563 | 7563 |
| 7564 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. | 7564 // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. |
| 7565 __ bind(&double_elements); | 7565 __ bind(&double_elements); |
| 7566 __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); | 7566 __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); |
| 7567 __ StoreNumberToDoubleElements(r0, r3, r1, | 7567 __ StoreNumberToDoubleElements(r0, r3, |
| 7568 // Overwrites all regs after this. | 7568 // Overwrites all regs after this. |
| 7569 r5, r6, r7, r9, r2, | 7569 r5, r6, r7, r9, r2, |
| 7570 &slow_elements); | 7570 &slow_elements); |
| 7571 __ Ret(); | 7571 __ Ret(); |
| 7572 } | 7572 } |
| 7573 | 7573 |
| 7574 | 7574 |
| 7575 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { | 7575 void ProfileEntryHookStub::MaybeCallEntryHook(MacroAssembler* masm) { |
| 7576 if (entry_hook_ != NULL) { | 7576 if (entry_hook_ != NULL) { |
| 7577 PredictableCodeSizeScope predictable(masm); | 7577 PredictableCodeSizeScope predictable(masm); |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7629 | 7629 |
| 7630 __ Pop(lr, r5, r1); | 7630 __ Pop(lr, r5, r1); |
| 7631 __ Ret(); | 7631 __ Ret(); |
| 7632 } | 7632 } |
| 7633 | 7633 |
| 7634 #undef __ | 7634 #undef __ |
| 7635 | 7635 |
| 7636 } } // namespace v8::internal | 7636 } } // namespace v8::internal |
| 7637 | 7637 |
| 7638 #endif // V8_TARGET_ARCH_ARM | 7638 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |