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

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

Issue 6526: - Fixed Issue 3201: Embedded Google Calendar crashes the renderer... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 12 years, 2 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/ic.cc ('k') | src/ic-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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) { 532 void KeyedLoadIC::GenerateGeneric(MacroAssembler* masm) {
533 } 533 }
534 534
535 void KeyedStoreIC::Generate(MacroAssembler* masm, 535 void KeyedStoreIC::Generate(MacroAssembler* masm,
536 const ExternalReference& f) { 536 const ExternalReference& f) {
537 } 537 }
538 538
539 void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm) { 539 void KeyedStoreIC::GenerateGeneric(MacroAssembler* masm) {
540 } 540 }
541 541
542 void KeyedStoreIC::GenerateExtendStorage(MacroAssembler* masm) {
543 }
544
542 545
543 void StoreIC::GenerateMegamorphic(MacroAssembler* masm) { 546 void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
544 // ----------- S t a t e ------------- 547 // ----------- S t a t e -------------
545 // -- r0 : value 548 // -- r0 : value
546 // -- r2 : name 549 // -- r2 : name
547 // -- lr : return address 550 // -- lr : return address
548 // -- [sp] : receiver 551 // -- [sp] : receiver
549 // ----------------------------------- 552 // -----------------------------------
550 553
551 // Get the receiver from the stack and probe the stub cache. 554 // Get the receiver from the stack and probe the stub cache.
(...skipping 11 matching lines...) Expand all
563 // -- r0 : value 566 // -- r0 : value
564 // -- r2 : name 567 // -- r2 : name
565 // -- lr : return address 568 // -- lr : return address
566 // -- [sp] : receiver 569 // -- [sp] : receiver
567 // ----------------------------------- 570 // -----------------------------------
568 571
569 __ ldr(r3, MemOperand(sp)); // copy receiver 572 __ ldr(r3, MemOperand(sp)); // copy receiver
570 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit()); 573 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit());
571 574
572 // Perform tail call to the entry. 575 // Perform tail call to the entry.
573 __ TailCallRuntime(ExternalReference(IC_Utility(kStoreIC_ExtendStorage)), 3); 576 __ TailCallRuntime(
577 ExternalReference(IC_Utility(kSharedStoreIC_ExtendStorage)), 3);
574 } 578 }
575 579
576 580
577 void StoreIC::Generate(MacroAssembler* masm, const ExternalReference& f) { 581 void StoreIC::Generate(MacroAssembler* masm, const ExternalReference& f) {
578 // ----------- S t a t e ------------- 582 // ----------- S t a t e -------------
579 // -- r0 : value 583 // -- r0 : value
580 // -- r2 : name 584 // -- r2 : name
581 // -- lr : return address 585 // -- lr : return address
582 // -- [sp] : receiver 586 // -- [sp] : receiver
583 // ----------------------------------- 587 // -----------------------------------
584 588
585 __ ldr(r3, MemOperand(sp)); // copy receiver 589 __ ldr(r3, MemOperand(sp)); // copy receiver
586 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit()); 590 __ stm(db_w, sp, r0.bit() | r2.bit() | r3.bit());
587 591
588 // Perform tail call to the entry. 592 // Perform tail call to the entry.
589 __ TailCallRuntime(f, 3); 593 __ TailCallRuntime(f, 3);
590 } 594 }
591 595
592 596
593 #undef __ 597 #undef __
594 598
595 599
596 } } // namespace v8::internal 600 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/ic-ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698