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

Side by Side Diff: src/ia32/full-codegen-ia32.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/ia32/deoptimizer-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 __ cmp(FieldOperand(eax, HeapObject::kMapOffset), 960 __ cmp(FieldOperand(eax, HeapObject::kMapOffset),
961 isolate()->factory()->meta_map()); 961 isolate()->factory()->meta_map());
962 __ j(not_equal, &fixed_array, Label::kNear); 962 __ j(not_equal, &fixed_array, Label::kNear);
963 963
964 // We got a map in register eax. Get the enumeration cache from it. 964 // We got a map in register eax. Get the enumeration cache from it.
965 __ bind(&use_cache); 965 __ bind(&use_cache);
966 __ LoadInstanceDescriptors(eax, ecx); 966 __ LoadInstanceDescriptors(eax, ecx);
967 __ mov(ecx, FieldOperand(ecx, DescriptorArray::kEnumerationIndexOffset)); 967 __ mov(ecx, FieldOperand(ecx, DescriptorArray::kEnumerationIndexOffset));
968 __ mov(edx, FieldOperand(ecx, DescriptorArray::kEnumCacheBridgeCacheOffset)); 968 __ mov(edx, FieldOperand(ecx, DescriptorArray::kEnumCacheBridgeCacheOffset));
969 969
970 // Setup the four remaining stack slots. 970 // Set up the four remaining stack slots.
971 __ push(eax); // Map. 971 __ push(eax); // Map.
972 __ push(edx); // Enumeration cache. 972 __ push(edx); // Enumeration cache.
973 __ mov(eax, FieldOperand(edx, FixedArray::kLengthOffset)); 973 __ mov(eax, FieldOperand(edx, FixedArray::kLengthOffset));
974 __ push(eax); // Enumeration cache length (as smi). 974 __ push(eax); // Enumeration cache length (as smi).
975 __ push(Immediate(Smi::FromInt(0))); // Initial index. 975 __ push(Immediate(Smi::FromInt(0))); // Initial index.
976 __ jmp(&loop); 976 __ jmp(&loop);
977 977
978 // We got a fixed array in register eax. Iterate through that. 978 // We got a fixed array in register eax. Iterate through that.
979 Label non_proxy; 979 Label non_proxy;
980 __ bind(&fixed_array); 980 __ bind(&fixed_array);
(...skipping 3399 matching lines...) Expand 10 before | Expand all | Expand 10 after
4380 *context_length = 0; 4380 *context_length = 0;
4381 return previous_; 4381 return previous_;
4382 } 4382 }
4383 4383
4384 4384
4385 #undef __ 4385 #undef __
4386 4386
4387 } } // namespace v8::internal 4387 } } // namespace v8::internal
4388 4388
4389 #endif // V8_TARGET_ARCH_IA32 4389 #endif // V8_TARGET_ARCH_IA32
OLDNEW
« no previous file with comments | « src/ia32/deoptimizer-ia32.cc ('k') | src/ia32/lithium-codegen-ia32.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698