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

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

Issue 524058: Fix x64 and arm build. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Fix x64 and arm build. Created 10 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 | « no previous file | src/x64/ic-x64.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 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 __ LoadRoot(ip, Heap::kTheHoleValueRootIndex); 611 __ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
612 __ cmp(r0, ip); 612 __ cmp(r0, ip);
613 // In case the loaded value is the_hole we have to consult GetProperty 613 // In case the loaded value is the_hole we have to consult GetProperty
614 // to ensure the prototype chain is searched. 614 // to ensure the prototype chain is searched.
615 __ b(eq, &slow); 615 __ b(eq, &slow);
616 616
617 __ Ret(); 617 __ Ret();
618 } 618 }
619 619
620 620
621 void KeyedLoadIC::GenerateString(MacroAssembler* masm) {
622 // ---------- S t a t e --------------
623 // -- lr : return address
624 // -- sp[0] : key
625 // -- sp[4] : receiver
626 GenerateGeneric(masm);
627 }
628
629
621 void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm, 630 void KeyedLoadIC::GenerateExternalArray(MacroAssembler* masm,
622 ExternalArrayType array_type) { 631 ExternalArrayType array_type) {
623 // TODO(476): port specialized code. 632 // TODO(476): port specialized code.
624 GenerateGeneric(masm); 633 GenerateGeneric(masm);
625 } 634 }
626 635
627 636
628 void KeyedStoreIC::Generate(MacroAssembler* masm, 637 void KeyedStoreIC::Generate(MacroAssembler* masm,
629 const ExternalReference& f) { 638 const ExternalReference& f) {
630 // ---------- S t a t e -------------- 639 // ---------- S t a t e --------------
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 841
833 // Perform tail call to the entry. 842 // Perform tail call to the entry.
834 __ TailCallRuntime(f, 3, 1); 843 __ TailCallRuntime(f, 3, 1);
835 } 844 }
836 845
837 846
838 #undef __ 847 #undef __
839 848
840 849
841 } } // namespace v8::internal 850 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « no previous file | src/x64/ic-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698