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