Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(347)

Side by Side Diff: src/arm/ic-arm.cc

Issue 142693005: A64: Synchronize with r16918. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after
1387 Label slow, fast_object, fast_object_grow; 1387 Label slow, fast_object, fast_object_grow;
1388 Label fast_double, fast_double_grow; 1388 Label fast_double, fast_double_grow;
1389 Label array, extra, check_if_double_array; 1389 Label array, extra, check_if_double_array;
1390 1390
1391 // Register usage. 1391 // Register usage.
1392 Register value = r0; 1392 Register value = r0;
1393 Register key = r1; 1393 Register key = r1;
1394 Register receiver = r2; 1394 Register receiver = r2;
1395 Register receiver_map = r3; 1395 Register receiver_map = r3;
1396 Register elements_map = r6; 1396 Register elements_map = r6;
1397 Register elements = r7; // Elements array of the receiver. 1397 Register elements = r9; // Elements array of the receiver.
1398 // r4 and r5 are used as general scratch registers. 1398 // r4 and r5 are used as general scratch registers.
1399 1399
1400 // Check that the key is a smi. 1400 // Check that the key is a smi.
1401 __ JumpIfNotSmi(key, &slow); 1401 __ JumpIfNotSmi(key, &slow);
1402 // Check that the object isn't a smi. 1402 // Check that the object isn't a smi.
1403 __ JumpIfSmi(receiver, &slow); 1403 __ JumpIfSmi(receiver, &slow);
1404 // Get the map of the object. 1404 // Get the map of the object.
1405 __ ldr(receiver_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); 1405 __ ldr(receiver_map, FieldMemOperand(receiver, HeapObject::kMapOffset));
1406 // Check that the receiver does not require access checks. We need 1406 // Check that the receiver does not require access checks. We need
1407 // to do this because this generic stub does not perform map checks. 1407 // to do this because this generic stub does not perform map checks.
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1653 } else { 1653 } else {
1654 ASSERT(Assembler::GetCondition(branch_instr) == ne); 1654 ASSERT(Assembler::GetCondition(branch_instr) == ne);
1655 patcher.EmitCondition(eq); 1655 patcher.EmitCondition(eq);
1656 } 1656 }
1657 } 1657 }
1658 1658
1659 1659
1660 } } // namespace v8::internal 1660 } } // namespace v8::internal
1661 1661
1662 #endif // V8_TARGET_ARCH_ARM 1662 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698