From: plind44@gmail.com Date: Fri, 14 Feb 2014 18:11:31 +0000 (+0000) Subject: MIPS: Remove HandlerKindField and just encode the handlerkind as the only extra-ic... X-Git-Tag: upstream/4.7.83~10695 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1205064b8ed212899b0d247ad6d569d36d7caa0;p=platform%2Fupstream%2Fv8.git 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 . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@19394 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/ic-mips.cc b/src/mips/ic-mips.cc index 7b15953..4088ea4 100644 --- a/src/mips/ic-mips.cc +++ b/src/mips/ic-mips.cc @@ -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);