Commit 339f0439 authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] Remove unused BuildLoadGlobalProxy from AstGraphBuilder.

R=jarin@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#31880}
parent 270be935
......@@ -3653,14 +3653,6 @@ Node* AstGraphBuilder::BuildLoadNativeContextField(int index) {
}
Node* AstGraphBuilder::BuildLoadGlobalProxy() {
Node* global = BuildLoadGlobalObject();
Node* proxy =
BuildLoadObjectField(global, JSGlobalObject::kGlobalProxyOffset);
return proxy;
}
Node* AstGraphBuilder::BuildLoadFeedbackVector() {
if (!feedback_vector_.is_set()) {
Node* closure = GetFunctionClosure();
......
......@@ -301,7 +301,6 @@ class AstGraphBuilder : public AstVisitor {
// Builders for accessing the function context.
Node* BuildLoadGlobalObject();
Node* BuildLoadNativeContextField(int index);
Node* BuildLoadGlobalProxy();
Node* BuildLoadFeedbackVector();
// Builder for accessing a (potentially immutable) object field.
......
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