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/mips/stub-cache-mips.cc

Issue 8233011: Refactor and fix polymorphic KeyedStoreIC creation (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix nits Created 9 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/objects.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 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 3112 matching lines...) Expand 10 before | Expand all | Expand 10 after
3123 DO_SMI_CHECK); 3123 DO_SMI_CHECK);
3124 3124
3125 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Miss(); 3125 Handle<Code> ic = isolate()->builtins()->KeyedLoadIC_Miss();
3126 __ Jump(ic, RelocInfo::CODE_TARGET); 3126 __ Jump(ic, RelocInfo::CODE_TARGET);
3127 3127
3128 // Return the generated code. 3128 // Return the generated code.
3129 return GetCode(NORMAL, NULL); 3129 return GetCode(NORMAL, NULL);
3130 } 3130 }
3131 3131
3132 3132
3133 MaybeObject* KeyedLoadStubCompiler::CompileLoadMegamorphic( 3133 MaybeObject* KeyedLoadStubCompiler::CompileLoadPolymorphic(
3134 MapList* receiver_maps, 3134 MapList* receiver_maps,
3135 CodeList* handler_ics) { 3135 CodeList* handler_ics) {
3136 // ----------- S t a t e ------------- 3136 // ----------- S t a t e -------------
3137 // -- ra : return address 3137 // -- ra : return address
3138 // -- a0 : key 3138 // -- a0 : key
3139 // -- a1 : receiver 3139 // -- a1 : receiver
3140 // ----------------------------------- 3140 // -----------------------------------
3141 Label miss; 3141 Label miss;
3142 __ JumpIfSmi(a1, &miss); 3142 __ JumpIfSmi(a1, &miss);
3143 3143
(...skipping 1358 matching lines...) Expand 10 before | Expand all | Expand 10 after
4502 masm->isolate()->builtins()->KeyedStoreIC_MissForceGeneric(); 4502 masm->isolate()->builtins()->KeyedStoreIC_MissForceGeneric();
4503 __ Jump(ic, RelocInfo::CODE_TARGET); 4503 __ Jump(ic, RelocInfo::CODE_TARGET);
4504 } 4504 }
4505 4505
4506 4506
4507 #undef __ 4507 #undef __
4508 4508
4509 } } // namespace v8::internal 4509 } } // namespace v8::internal
4510 4510
4511 #endif // V8_TARGET_ARCH_MIPS 4511 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/ic.cc ('k') | src/objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698