Commit b1205064 authored by plind44@gmail.com's avatar plind44@gmail.com

MIPS: Remove HandlerKindField and just encode the handlerkind as the only extra-ic-state.

Port r19385 (27769f9)

BUG=
R=plind44@gmail.com

Review URL: https://codereview.chromium.org/164283008

Patch from Balazs Kilvady <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent cf9c9f9c
......@@ -339,8 +339,7 @@ static void GenerateKeyNameCheck(MacroAssembler* masm,
}
void LoadIC::GenerateMegamorphic(MacroAssembler* masm,
ExtraICState extra_state) {
void LoadIC::GenerateMegamorphic(MacroAssembler* masm) {
// ----------- S t a t e -------------
// -- a2 : name
// -- ra : return address
......@@ -348,7 +347,7 @@ void LoadIC::GenerateMegamorphic(MacroAssembler* masm,
// -----------------------------------
// Probe the stub cache.
Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC, extra_state);
Code::Flags flags = Code::ComputeHandlerFlags(Code::LOAD_IC);
masm->isolate()->stub_cache()->GenerateProbe(
masm, flags, a0, a2, a3, t0, t1, t2);
......@@ -1179,8 +1178,7 @@ void KeyedStoreIC::GenerateSlow(MacroAssembler* masm) {
}
void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
ExtraICState extra_state) {
void StoreIC::GenerateMegamorphic(MacroAssembler* masm) {
// ----------- S t a t e -------------
// -- a0 : value
// -- a1 : receiver
......@@ -1189,7 +1187,7 @@ void StoreIC::GenerateMegamorphic(MacroAssembler* masm,
// -----------------------------------
// Get the receiver from the stack and probe the stub cache.
Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC, extra_state);
Code::Flags flags = Code::ComputeHandlerFlags(Code::STORE_IC);
masm->isolate()->stub_cache()->GenerateProbe(
masm, flags, a1, a2, a3, t0, t1, t2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment