Remove deprecated CEntryStub cache in generic lowering.

R=bmeurer@chromium.org

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

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24358 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b3d42688
......@@ -222,10 +222,7 @@ void JSGenericLowering::ReplaceWithRuntimeCall(Node* node,
linkage()->GetRuntimeCallDescriptor(f, nargs, properties);
Node* ref = ExternalConstant(ExternalReference(f, isolate()));
Node* arity = Int32Constant(nargs);
if (!centrystub_constant_.is_set()) {
centrystub_constant_.set(CodeConstant(CEntryStub(isolate(), 1).GetCode()));
}
PatchInsertInput(node, 0, centrystub_constant_.get());
PatchInsertInput(node, 0, jsgraph()->CEntryStubConstant());
PatchInsertInput(node, nargs + 1, ref);
PatchInsertInput(node, nargs + 2, arity);
PatchOperator(node, common()->Call(desc));
......
......@@ -66,7 +66,6 @@ class JSGenericLowering : public Reducer {
CompilationInfo* info_;
JSGraph* jsgraph_;
Linkage* linkage_;
SetOncePointer<Node> centrystub_constant_;
};
} // namespace compiler
......
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