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

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

Issue 143633007: A64: Synchronize with r18764. (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/a64
Patch Set: Created 6 years, 10 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/a64/full-codegen-a64.cc ('k') | src/a64/lithium-a64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after
780 780
781 781
782 void LoadIC::GenerateMegamorphic(MacroAssembler* masm, ContextualMode mode) { 782 void LoadIC::GenerateMegamorphic(MacroAssembler* masm, ContextualMode mode) {
783 // ----------- S t a t e ------------- 783 // ----------- S t a t e -------------
784 // -- x2 : name 784 // -- x2 : name
785 // -- lr : return address 785 // -- lr : return address
786 // -- x0 : receiver 786 // -- x0 : receiver
787 // ----------------------------------- 787 // -----------------------------------
788 788
789 // Probe the stub cache. 789 // Probe the stub cache.
790 ExtraICState extra_ic_state = IC::ComputeExtraICState(mode); 790 ExtraICState extra_ic_state = LoadIC::ComputeExtraICState(mode);
791 Code::Flags flags = Code::ComputeFlags( 791 Code::Flags flags = Code::ComputeFlags(
792 Code::HANDLER, MONOMORPHIC, extra_ic_state, 792 Code::HANDLER, MONOMORPHIC, extra_ic_state,
793 Code::NORMAL, Code::LOAD_IC); 793 Code::NORMAL, Code::LOAD_IC);
794 masm->isolate()->stub_cache()->GenerateProbe( 794 masm->isolate()->stub_cache()->GenerateProbe(
795 masm, flags, x0, x2, x3, x4, x5, x6); 795 masm, flags, x0, x2, x3, x4, x5, x6);
796 796
797 // Cache miss: Jump to runtime. 797 // Cache miss: Jump to runtime.
798 GenerateMiss(masm); 798 GenerateMiss(masm);
799 } 799 }
800 800
(...skipping 1008 matching lines...) Expand 10 before | Expand all | Expand 10 after
1809 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); 1809 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ);
1810 // This is JumpIfSmi(smi_reg, branch_imm). 1810 // This is JumpIfSmi(smi_reg, branch_imm).
1811 patcher.tbz(smi_reg, 0, branch_imm); 1811 patcher.tbz(smi_reg, 0, branch_imm);
1812 } 1812 }
1813 } 1813 }
1814 1814
1815 1815
1816 } } // namespace v8::internal 1816 } } // namespace v8::internal
1817 1817
1818 #endif // V8_TARGET_ARCH_A64 1818 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/full-codegen-a64.cc ('k') | src/a64/lithium-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698