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

Side by Side Diff: src/arm/full-codegen-arm.cc

Issue 9227007: Version 3.8.6 (Closed) Base URL: http://v8.googlecode.com/svn/trunk/
Patch Set: Created 8 years, 11 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/deoptimizer-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 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 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 __ LoadRoot(ip, Heap::kMetaMapRootIndex); 1002 __ LoadRoot(ip, Heap::kMetaMapRootIndex);
1003 __ cmp(r1, ip); 1003 __ cmp(r1, ip);
1004 __ b(ne, &fixed_array); 1004 __ b(ne, &fixed_array);
1005 1005
1006 // We got a map in register r0. Get the enumeration cache from it. 1006 // We got a map in register r0. Get the enumeration cache from it.
1007 __ bind(&use_cache); 1007 __ bind(&use_cache);
1008 __ LoadInstanceDescriptors(r0, r1); 1008 __ LoadInstanceDescriptors(r0, r1);
1009 __ ldr(r1, FieldMemOperand(r1, DescriptorArray::kEnumerationIndexOffset)); 1009 __ ldr(r1, FieldMemOperand(r1, DescriptorArray::kEnumerationIndexOffset));
1010 __ ldr(r2, FieldMemOperand(r1, DescriptorArray::kEnumCacheBridgeCacheOffset)); 1010 __ ldr(r2, FieldMemOperand(r1, DescriptorArray::kEnumCacheBridgeCacheOffset));
1011 1011
1012 // Setup the four remaining stack slots. 1012 // Set up the four remaining stack slots.
1013 __ push(r0); // Map. 1013 __ push(r0); // Map.
1014 __ ldr(r1, FieldMemOperand(r2, FixedArray::kLengthOffset)); 1014 __ ldr(r1, FieldMemOperand(r2, FixedArray::kLengthOffset));
1015 __ mov(r0, Operand(Smi::FromInt(0))); 1015 __ mov(r0, Operand(Smi::FromInt(0)));
1016 // Push enumeration cache, enumeration cache length (as smi) and zero. 1016 // Push enumeration cache, enumeration cache length (as smi) and zero.
1017 __ Push(r2, r1, r0); 1017 __ Push(r2, r1, r0);
1018 __ jmp(&loop); 1018 __ jmp(&loop);
1019 1019
1020 // We got a fixed array in register r0. Iterate through that. 1020 // We got a fixed array in register r0. Iterate through that.
1021 Label non_proxy; 1021 Label non_proxy;
1022 __ bind(&fixed_array); 1022 __ bind(&fixed_array);
(...skipping 3367 matching lines...) Expand 10 before | Expand all | Expand 10 after
4390 *context_length = 0; 4390 *context_length = 0;
4391 return previous_; 4391 return previous_;
4392 } 4392 }
4393 4393
4394 4394
4395 #undef __ 4395 #undef __
4396 4396
4397 } } // namespace v8::internal 4397 } } // namespace v8::internal
4398 4398
4399 #endif // V8_TARGET_ARCH_ARM 4399 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/deoptimizer-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698