| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 r0, | 173 r0, |
| 174 r1, | 174 r1, |
| 175 lr, | 175 lr, |
| 176 s0); | 176 s0); |
| 177 __ Strd(r0, r1, MemOperand(r7, 8, PostIndex)); | 177 __ Strd(r0, r1, MemOperand(r7, 8, PostIndex)); |
| 178 } | 178 } |
| 179 __ b(&entry); | 179 __ b(&entry); |
| 180 | 180 |
| 181 // Hole found, store the-hole NaN. | 181 // Hole found, store the-hole NaN. |
| 182 __ bind(&convert_hole); | 182 __ bind(&convert_hole); |
| 183 |
| 184 if (FLAG_debug_code) { |
| 185 Label is_really_the_hole; |
| 186 __ CompareRoot(r9, Heap::kTheHoleValueRootIndex); |
| 187 __ b(eq, &is_really_the_hole); |
| 188 __ Abort("object found in smi-only array"); |
| 189 __ bind(&is_really_the_hole); |
| 190 } |
| 191 |
| 183 __ Strd(r4, r5, MemOperand(r7, 8, PostIndex)); | 192 __ Strd(r4, r5, MemOperand(r7, 8, PostIndex)); |
| 184 | 193 |
| 185 __ bind(&entry); | 194 __ bind(&entry); |
| 186 __ cmp(r7, r6); | 195 __ cmp(r7, r6); |
| 187 __ b(lt, &loop); | 196 __ b(lt, &loop); |
| 188 | 197 |
| 189 if (!vfp3_supported) __ Pop(r1, r0); | 198 if (!vfp3_supported) __ Pop(r1, r0); |
| 190 __ pop(lr); | 199 __ pop(lr); |
| 191 } | 200 } |
| 192 | 201 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 EMIT_REMEMBERED_SET, | 305 EMIT_REMEMBERED_SET, |
| 297 OMIT_SMI_CHECK); | 306 OMIT_SMI_CHECK); |
| 298 __ pop(lr); | 307 __ pop(lr); |
| 299 } | 308 } |
| 300 | 309 |
| 301 #undef __ | 310 #undef __ |
| 302 | 311 |
| 303 } } // namespace v8::internal | 312 } } // namespace v8::internal |
| 304 | 313 |
| 305 #endif // V8_TARGET_ARCH_ARM | 314 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |