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

Side by Side Diff: src/arm/stub-cache-arm.cc

Issue 23990004: Fix polymorphic INTERCEPTOR StoreICs on ARM/MIPS (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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/mips/stub-cache-mips.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 2854 matching lines...) Expand 10 before | Expand all | Expand 10 after
2865 // Do tail-call to the runtime system. 2865 // Do tail-call to the runtime system.
2866 ExternalReference store_ic_property = 2866 ExternalReference store_ic_property =
2867 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate()); 2867 ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate());
2868 __ TailCallExternalReference(store_ic_property, 4, 1); 2868 __ TailCallExternalReference(store_ic_property, 4, 1);
2869 2869
2870 // Handle store cache miss. 2870 // Handle store cache miss.
2871 __ bind(&miss); 2871 __ bind(&miss);
2872 TailCallBuiltin(masm(), MissBuiltin(kind())); 2872 TailCallBuiltin(masm(), MissBuiltin(kind()));
2873 2873
2874 // Return the generated code. 2874 // Return the generated code.
2875 return GetICCode(kind(), Code::INTERCEPTOR, name); 2875 return GetCode(kind(), Code::INTERCEPTOR, name);
2876 } 2876 }
2877 2877
2878 2878
2879 Handle<Code> StoreStubCompiler::CompileStoreGlobal( 2879 Handle<Code> StoreStubCompiler::CompileStoreGlobal(
2880 Handle<GlobalObject> object, 2880 Handle<GlobalObject> object,
2881 Handle<PropertyCell> cell, 2881 Handle<PropertyCell> cell,
2882 Handle<Name> name) { 2882 Handle<Name> name) {
2883 Label miss; 2883 Label miss;
2884 2884
2885 // Check that the map of the global has not changed. 2885 // Check that the map of the global has not changed.
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
3170 // ----------------------------------- 3170 // -----------------------------------
3171 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric); 3171 TailCallBuiltin(masm, Builtins::kKeyedLoadIC_MissForceGeneric);
3172 } 3172 }
3173 3173
3174 3174
3175 #undef __ 3175 #undef __
3176 3176
3177 } } // namespace v8::internal 3177 } } // namespace v8::internal
3178 3178
3179 #endif // V8_TARGET_ARCH_ARM 3179 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/mips/stub-cache-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698