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

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

Issue 10442015: Rollback of r11638, r11636 on trunk branch. (Closed) Base URL: https://v8.googlecode.com/svn/trunk
Patch Set: 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
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('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 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::GenerateMapChangeElementsTransition( 354 void ElementsTransitionGenerator::GenerateSmiOnlyToObject(
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);
365 __ RecordWriteField(edx, 365 __ RecordWriteField(edx,
366 HeapObject::kMapOffset, 366 HeapObject::kMapOffset,
367 ebx, 367 ebx,
368 edi, 368 edi,
369 kDontSaveFPRegs, 369 kDontSaveFPRegs,
370 EMIT_REMEMBERED_SET, 370 EMIT_REMEMBERED_SET,
371 OMIT_SMI_CHECK); 371 OMIT_SMI_CHECK);
372 } 372 }
373 373
374 374
375 void ElementsTransitionGenerator::GenerateSmiToDouble( 375 void ElementsTransitionGenerator::GenerateSmiOnlyToDouble(
376 MacroAssembler* masm, Label* fail) { 376 MacroAssembler* masm, Label* fail) {
377 // ----------- S t a t e ------------- 377 // ----------- S t a t e -------------
378 // -- eax : value 378 // -- eax : value
379 // -- ebx : target map 379 // -- ebx : target map
380 // -- ecx : key 380 // -- ecx : key
381 // -- edx : receiver 381 // -- edx : receiver
382 // -- esp[0] : return address 382 // -- esp[0] : return address
383 // ----------------------------------- 383 // -----------------------------------
384 Label loop, entry, convert_hole, gc_required, only_change_map; 384 Label loop, entry, convert_hole, gc_required, only_change_map;
385 385
(...skipping 367 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
« no previous file with comments | « src/ia32/code-stubs-ia32.cc ('k') | src/ia32/full-codegen-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698