M ic-arm.cc
git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2344 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
99bea86c7a
commit
3cb5fc56d2
@ -217,7 +217,7 @@ void CallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
|
|||||||
// Probe the stub cache.
|
// Probe the stub cache.
|
||||||
Code::Flags flags =
|
Code::Flags flags =
|
||||||
Code::ComputeFlags(Code::CALL_IC, NOT_IN_LOOP, MONOMORPHIC, NORMAL, argc);
|
Code::ComputeFlags(Code::CALL_IC, NOT_IN_LOOP, MONOMORPHIC, NORMAL, argc);
|
||||||
StubCache::GenerateProbe(masm, flags, r1, r2, r3);
|
StubCache::GenerateProbe(masm, flags, r1, r2, r3, no_reg);
|
||||||
|
|
||||||
// If the stub cache probing failed, the receiver might be a value.
|
// If the stub cache probing failed, the receiver might be a value.
|
||||||
// For value objects, we use the map of the prototype objects for
|
// For value objects, we use the map of the prototype objects for
|
||||||
@ -254,7 +254,7 @@ void CallIC::GenerateMegamorphic(MacroAssembler* masm, int argc) {
|
|||||||
|
|
||||||
// Probe the stub cache for the value object.
|
// Probe the stub cache for the value object.
|
||||||
__ bind(&probe);
|
__ bind(&probe);
|
||||||
StubCache::GenerateProbe(masm, flags, r1, r2, r3);
|
StubCache::GenerateProbe(masm, flags, r1, r2, r3, no_reg);
|
||||||
|
|
||||||
// Cache miss: Jump to runtime.
|
// Cache miss: Jump to runtime.
|
||||||
__ bind(&miss);
|
__ bind(&miss);
|
||||||
@ -422,7 +422,7 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
|
|||||||
Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC,
|
Code::Flags flags = Code::ComputeFlags(Code::LOAD_IC,
|
||||||
NOT_IN_LOOP,
|
NOT_IN_LOOP,
|
||||||
MONOMORPHIC);
|
MONOMORPHIC);
|
||||||
StubCache::GenerateProbe(masm, flags, r0, r2, r3);
|
StubCache::GenerateProbe(masm, flags, r0, r2, r3, no_reg);
|
||||||
|
|
||||||
// Cache miss: Jump to runtime.
|
// Cache miss: Jump to runtime.
|
||||||
Generate(masm, ExternalReference(IC_Utility(kLoadIC_Miss)));
|
Generate(masm, ExternalReference(IC_Utility(kLoadIC_Miss)));
|
||||||
@ -761,7 +761,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
|
|||||||
Code::Flags flags = Code::ComputeFlags(Code::STORE_IC,
|
Code::Flags flags = Code::ComputeFlags(Code::STORE_IC,
|
||||||
NOT_IN_LOOP,
|
NOT_IN_LOOP,
|
||||||
MONOMORPHIC);
|
MONOMORPHIC);
|
||||||
StubCache::GenerateProbe(masm, flags, r1, r2, r3);
|
StubCache::GenerateProbe(masm, flags, r1, r2, r3, no_reg);
|
||||||
|
|
||||||
// Cache miss: Jump to runtime.
|
// Cache miss: Jump to runtime.
|
||||||
Generate(masm, ExternalReference(IC_Utility(kStoreIC_Miss)));
|
Generate(masm, ExternalReference(IC_Utility(kStoreIC_Miss)));
|
||||||
|
Loading…
Reference in New Issue
Block a user