| 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 7340 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  7351   // FAST_ELEMENTS, and value is Smi. |  7351   // FAST_ELEMENTS, and value is Smi. | 
|  7352   __ bind(&smi_element); |  7352   __ bind(&smi_element); | 
|  7353   __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); |  7353   __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); | 
|  7354   __ add(r6, r5, Operand(r3, LSL, kPointerSizeLog2 - kSmiTagSize)); |  7354   __ add(r6, r5, Operand(r3, LSL, kPointerSizeLog2 - kSmiTagSize)); | 
|  7355   __ str(r0, FieldMemOperand(r6, FixedArray::kHeaderSize)); |  7355   __ str(r0, FieldMemOperand(r6, FixedArray::kHeaderSize)); | 
|  7356   __ Ret(); |  7356   __ Ret(); | 
|  7357  |  7357  | 
|  7358   // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. |  7358   // Array literal has ElementsKind of FAST_DOUBLE_ELEMENTS. | 
|  7359   __ bind(&double_elements); |  7359   __ bind(&double_elements); | 
|  7360   __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); |  7360   __ ldr(r5, FieldMemOperand(r1, JSObject::kElementsOffset)); | 
|  7361   __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r10, |  7361   __ StoreNumberToDoubleElements(r0, r3, r1, r5, r6, r7, r9, r2, | 
|  7362                                  &slow_elements); |  7362                                  &slow_elements); | 
|  7363   __ Ret(); |  7363   __ Ret(); | 
|  7364 } |  7364 } | 
|  7365  |  7365  | 
|  7366 #undef __ |  7366 #undef __ | 
|  7367  |  7367  | 
|  7368 } }  // namespace v8::internal |  7368 } }  // namespace v8::internal | 
|  7369  |  7369  | 
|  7370 #endif  // V8_TARGET_ARCH_ARM |  7370 #endif  // V8_TARGET_ARCH_ARM | 
| OLD | NEW |