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

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

Issue 148883002: Synchronize with r15594. (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/code-stubs-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 1649 matching lines...) Expand 10 before | Expand all | Expand 10 after
1660 void StoreIC::GenerateMegamorphic(MacroAssembler* masm, 1660 void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
1661 StrictModeFlag strict_mode) { 1661 StrictModeFlag strict_mode) {
1662 // ----------- S t a t e ------------- 1662 // ----------- S t a t e -------------
1663 // -- x0 : value 1663 // -- x0 : value
1664 // -- x1 : receiver 1664 // -- x1 : receiver
1665 // -- x2 : name 1665 // -- x2 : name
1666 // -- lr : return address 1666 // -- lr : return address
1667 // ----------------------------------- 1667 // -----------------------------------
1668 1668
1669 // Probe the stub cache. 1669 // Probe the stub cache.
1670 Code::Flags flags = 1670 Code::Flags flags = Code::ComputeFlags(Code::STUB, MONOMORPHIC, strict_mode,
1671 Code::ComputeFlags(Code::STORE_IC, MONOMORPHIC, strict_mode); 1671 Code::NORMAL, Code::STORE_IC);
1672 1672
1673 Isolate::Current()->stub_cache()->GenerateProbe( 1673 Isolate::Current()->stub_cache()->GenerateProbe(
1674 masm, flags, x1, x2, x3, x4, x5, x6); 1674 masm, flags, x1, x2, x3, x4, x5, x6);
1675 1675
1676 // Cache miss: Jump to runtime. 1676 // Cache miss: Jump to runtime.
1677 GenerateMiss(masm); 1677 GenerateMiss(masm);
1678 } 1678 }
1679 1679
1680 1680
1681 void StoreIC::GenerateMiss(MacroAssembler* masm) { 1681 void StoreIC::GenerateMiss(MacroAssembler* masm) {
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
1850 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ); 1850 ASSERT(to_patch->Mask(TestBranchMask) == TBNZ);
1851 // This is JumpIfSmi(smi_reg, branch_imm). 1851 // This is JumpIfSmi(smi_reg, branch_imm).
1852 patcher.tbz(smi_reg, 0, branch_imm); 1852 patcher.tbz(smi_reg, 0, branch_imm);
1853 } 1853 }
1854 } 1854 }
1855 1855
1856 1856
1857 } } // namespace v8::internal 1857 } } // namespace v8::internal
1858 1858
1859 #endif // V8_TARGET_ARCH_A64 1859 #endif // V8_TARGET_ARCH_A64
OLDNEW
« no previous file with comments | « src/a64/code-stubs-a64.cc ('k') | src/a64/lithium-a64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698