X87: Clean up name distinction between Keyed ICs and Element Handlers
port r22679. original commit message: Clean up name distinction between Keyed ICs and Element Handlers BUG= R=weiliang.lin@intel.com Review URL: https://codereview.chromium.org/426083006 Patch from Chunyang Dai <chunyang.dai@intel.com>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@22696 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
f45afc557e
commit
5372a2a769
@ -579,9 +579,8 @@ void KeyedLoadIC::GenerateIndexedInterceptor(MacroAssembler* masm) {
|
|||||||
__ push(scratch); // return address
|
__ push(scratch); // return address
|
||||||
|
|
||||||
// Perform tail call to the entry.
|
// Perform tail call to the entry.
|
||||||
ExternalReference ref =
|
ExternalReference ref = ExternalReference(
|
||||||
ExternalReference(IC_Utility(kKeyedLoadPropertyWithInterceptor),
|
IC_Utility(kLoadElementWithInterceptor), masm->isolate());
|
||||||
masm->isolate());
|
|
||||||
__ TailCallExternalReference(ref, 2, 1);
|
__ TailCallExternalReference(ref, 2, 1);
|
||||||
|
|
||||||
__ bind(&slow);
|
__ bind(&slow);
|
||||||
|
@ -1173,7 +1173,7 @@ void MacroAssembler::CheckAccessGlobalProxy(Register holder_reg,
|
|||||||
|
|
||||||
|
|
||||||
// Compute the hash code from the untagged key. This must be kept in sync with
|
// Compute the hash code from the untagged key. This must be kept in sync with
|
||||||
// ComputeIntegerHash in utils.h and KeyedLoadGenericElementStub in
|
// ComputeIntegerHash in utils.h and KeyedLoadGenericStub in
|
||||||
// code-stub-hydrogen.cc
|
// code-stub-hydrogen.cc
|
||||||
//
|
//
|
||||||
// Note: r0 will contain hash code
|
// Note: r0 will contain hash code
|
||||||
|
@ -1122,8 +1122,8 @@ Handle<Code> NamedStoreHandlerCompiler::CompileStoreInterceptor(
|
|||||||
__ push(scratch1()); // restore return address
|
__ push(scratch1()); // restore return address
|
||||||
|
|
||||||
// Do tail-call to the runtime system.
|
// Do tail-call to the runtime system.
|
||||||
ExternalReference store_ic_property =
|
ExternalReference store_ic_property = ExternalReference(
|
||||||
ExternalReference(IC_Utility(IC::kStoreInterceptorProperty), isolate());
|
IC_Utility(IC::kStorePropertyWithInterceptor), isolate());
|
||||||
__ TailCallExternalReference(store_ic_property, 3, 1);
|
__ TailCallExternalReference(store_ic_property, 3, 1);
|
||||||
|
|
||||||
// Return the generated code.
|
// Return the generated code.
|
||||||
@ -1145,7 +1145,7 @@ void NamedStoreHandlerCompiler::GenerateStoreArrayLength() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Handle<Code> PropertyICCompiler::CompileIndexedStorePolymorphic(
|
Handle<Code> PropertyICCompiler::CompileKeyedStorePolymorphic(
|
||||||
MapHandleList* receiver_maps, CodeHandleList* handler_stubs,
|
MapHandleList* receiver_maps, CodeHandleList* handler_stubs,
|
||||||
MapHandleList* transitioned_maps) {
|
MapHandleList* transitioned_maps) {
|
||||||
Label miss;
|
Label miss;
|
||||||
@ -1343,7 +1343,7 @@ Handle<Code> PropertyICCompiler::CompilePolymorphic(TypeHandleList* types,
|
|||||||
#define __ ACCESS_MASM(masm)
|
#define __ ACCESS_MASM(masm)
|
||||||
|
|
||||||
|
|
||||||
void IndexedHandlerCompiler::GenerateLoadDictionaryElement(
|
void ElementHandlerCompiler::GenerateLoadDictionaryElement(
|
||||||
MacroAssembler* masm) {
|
MacroAssembler* masm) {
|
||||||
// ----------- S t a t e -------------
|
// ----------- S t a t e -------------
|
||||||
// -- ecx : key
|
// -- ecx : key
|
||||||
|
Loading…
Reference in New Issue
Block a user