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

Side by Side Diff: src/ia32/codegen-ia32.cc

Issue 10170030: Implement tracking and optimizations of packed arrays (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: ia32 ready to go Created 8 years, 7 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
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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
344 return FUNCTION_CAST<OS::MemCopyFunction>(buffer); 344 return FUNCTION_CAST<OS::MemCopyFunction>(buffer);
345 } 345 }
346 346
347 #undef __ 347 #undef __
348 348
349 // ------------------------------------------------------------------------- 349 // -------------------------------------------------------------------------
350 // Code generators 350 // Code generators
351 351
352 #define __ ACCESS_MASM(masm) 352 #define __ ACCESS_MASM(masm)
353 353
354 void ElementsTransitionGenerator::GenerateSmiOnlyToObject( 354 void ElementsTransitionGenerator::GenerateMapChangeElementTransition(
355 MacroAssembler* masm) { 355 MacroAssembler* masm) {
356 // ----------- S t a t e ------------- 356 // ----------- S t a t e -------------
357 // -- eax : value 357 // -- eax : value
358 // -- ebx : target map 358 // -- ebx : target map
359 // -- ecx : key 359 // -- ecx : key
360 // -- edx : receiver 360 // -- edx : receiver
361 // -- esp[0] : return address 361 // -- esp[0] : return address
362 // ----------------------------------- 362 // -----------------------------------
363 // Set transitioned map. 363 // Set transitioned map.
364 __ mov(FieldOperand(edx, HeapObject::kMapOffset), ebx); 364 __ mov(FieldOperand(edx, HeapObject::kMapOffset), ebx);
(...skipping 388 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 times_1, 753 times_1,
754 SeqAsciiString::kHeaderSize)); 754 SeqAsciiString::kHeaderSize));
755 __ bind(&done); 755 __ bind(&done);
756 } 756 }
757 757
758 #undef __ 758 #undef __
759 759
760 } } // namespace v8::internal 760 } } // namespace v8::internal
761 761
762 #endif // V8_TARGET_ARCH_IA32 762 #endif // V8_TARGET_ARCH_IA32
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698