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

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

Issue 14834009: Call to the right slow method. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 | « 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 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 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1187 // -- r1 : receiver 1187 // -- r1 : receiver
1188 // -- lr : return address 1188 // -- lr : return address
1189 // ----------------------------------- 1189 // -----------------------------------
1190 1190
1191 // Push receiver, key and value for runtime call. 1191 // Push receiver, key and value for runtime call.
1192 __ Push(r1, r2, r0); 1192 __ Push(r1, r2, r0);
1193 1193
1194 // The slow case calls into the runtime to complete the store without causing 1194 // The slow case calls into the runtime to complete the store without causing
1195 // an IC miss that would otherwise cause a transition to the generic stub. 1195 // an IC miss that would otherwise cause a transition to the generic stub.
1196 ExternalReference ref = 1196 ExternalReference ref =
1197 ExternalReference(IC_Utility(kKeyedStoreIC_Slow), masm->isolate()); 1197 ExternalReference(IC_Utility(kStoreIC_Slow), masm->isolate());
1198 __ TailCallExternalReference(ref, 3, 1); 1198 __ TailCallExternalReference(ref, 3, 1);
1199 } 1199 }
1200 1200
1201 1201
1202 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) { 1202 void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) {
1203 // ---------- S t a t e -------------- 1203 // ---------- S t a t e --------------
1204 // -- r0 : value 1204 // -- r0 : value
1205 // -- r1 : key 1205 // -- r1 : key
1206 // -- r2 : receiver 1206 // -- r2 : receiver
1207 // -- lr : return address 1207 // -- lr : return address
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
1695 } else { 1695 } else {
1696 ASSERT(Assembler::GetCondition(branch_instr) == ne); 1696 ASSERT(Assembler::GetCondition(branch_instr) == ne);
1697 patcher.EmitCondition(eq); 1697 patcher.EmitCondition(eq);
1698 } 1698 }
1699 } 1699 }
1700 1700
1701 1701
1702 } } // namespace v8::internal 1702 } } // namespace v8::internal
1703 1703
1704 #endif // V8_TARGET_ARCH_ARM 1704 #endif // V8_TARGET_ARCH_ARM
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