From: plind44@gmail.com Date: Tue, 19 Nov 2013 16:06:11 +0000 (+0000) Subject: MIPS: Remove unused StubType's, freeing 2 bits in Code objects. X-Git-Tag: upstream/4.7.83~11663 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1cfcf25efe756bf9bdf41ab7284d20e3f65addd8;p=platform%2Fupstream%2Fv8.git MIPS: Remove unused StubType's, freeing 2 bits in Code objects. Port r17867 (a305bd3) BUG= R=plind44@gmail.com Review URL: https://codereview.chromium.org/60763005 Patch from Balazs Kilvady . git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17885 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- diff --git a/src/mips/stub-cache-mips.cc b/src/mips/stub-cache-mips.cc index 437d769..921a47c 100644 --- a/src/mips/stub-cache-mips.cc +++ b/src/mips/stub-cache-mips.cc @@ -1637,7 +1637,7 @@ Handle CallStubCompiler::CompileCallField(Handle object, GenerateMissBranch(); // Return the generated code. - return GetCode(Code::FIELD, name); + return GetCode(Code::FAST, name); } @@ -2691,7 +2691,7 @@ Handle CallStubCompiler::CompileCallConstant( Handle code = CompileCustomCall(object, holder, Handle::null(), function, Handle::cast(name), - Code::CONSTANT); + Code::FAST); // A null handle means bail out to the regular compiler code below. if (!code.is_null()) return code; } @@ -2740,7 +2740,7 @@ Handle CallStubCompiler::CompileCallInterceptor(Handle object, GenerateMissBranch(); // Return the generated code. - return GetCode(Code::INTERCEPTOR, name); + return GetCode(Code::FAST, name); } @@ -2828,7 +2828,7 @@ Handle StoreStubCompiler::CompileStoreCallback( __ TailCallExternalReference(store_callback_property, 4, 1); // Return the generated code. - return GetCode(kind(), Code::CALLBACKS, name); + return GetCode(kind(), Code::FAST, name); } @@ -2844,7 +2844,7 @@ Handle StoreStubCompiler::CompileStoreCallback( masm(), call_optimization, receiver(), scratch3(), 1, values); // Return the generated code. - return GetCode(kind(), Code::CALLBACKS, name); + return GetCode(kind(), Code::FAST, name); } @@ -2928,7 +2928,7 @@ Handle StoreStubCompiler::CompileStoreInterceptor( TailCallBuiltin(masm(), MissBuiltin(kind())); // Return the generated code. - return GetCode(kind(), Code::INTERCEPTOR, name); + return GetCode(kind(), Code::FAST, name); } @@ -2944,7 +2944,7 @@ Handle LoadStubCompiler::CompileLoadNonexistent( __ Ret(); // Return the generated code. - return GetCode(kind(), Code::NONEXISTENT, name); + return GetCode(kind(), Code::FAST, name); }