Commit 1cfcf25e authored by plind44@gmail.com's avatar plind44@gmail.com

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 <kilvadyb@homejinni.com>.

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@17885 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 44f3f410
......@@ -1637,7 +1637,7 @@ Handle<Code> CallStubCompiler::CompileCallField(Handle<JSObject> object,
GenerateMissBranch();
// Return the generated code.
return GetCode(Code::FIELD, name);
return GetCode(Code::FAST, name);
}
......@@ -2691,7 +2691,7 @@ Handle<Code> CallStubCompiler::CompileCallConstant(
Handle<Code> code = CompileCustomCall(object, holder,
Handle<Cell>::null(),
function, Handle<String>::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<Code> CallStubCompiler::CompileCallInterceptor(Handle<JSObject> object,
GenerateMissBranch();
// Return the generated code.
return GetCode(Code::INTERCEPTOR, name);
return GetCode(Code::FAST, name);
}
......@@ -2828,7 +2828,7 @@ Handle<Code> 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<Code> 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<Code> 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<Code> LoadStubCompiler::CompileLoadNonexistent(
__ Ret();
// Return the generated code.
return GetCode(kind(), Code::NONEXISTENT, name);
return GetCode(kind(), Code::FAST, name);
}
......
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