Commit b6f0ee50 authored by yangguo's avatar yangguo Committed by Commit bot

[turbofan] Remove obsolete BuildLoadBuiltinsObject.

R=mstarzinger@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#30417}
parent 76cf87d4
......@@ -3737,14 +3737,6 @@ Node* AstGraphBuilder::BuildLoadImmutableObjectField(Node* object, int offset) {
}
Node* AstGraphBuilder::BuildLoadBuiltinsObject() {
Node* global = BuildLoadGlobalObject();
Node* builtins =
BuildLoadObjectField(global, JSGlobalObject::kBuiltinsOffset);
return builtins;
}
Node* AstGraphBuilder::BuildLoadGlobalObject() {
const Operator* load_op =
javascript()->LoadContext(0, Context::GLOBAL_OBJECT_INDEX, true);
......
......@@ -315,7 +315,6 @@ class AstGraphBuilder : public AstVisitor {
TypeFeedbackId id, int slot_index);
// Builders for accessing the function context.
Node* BuildLoadBuiltinsObject();
Node* BuildLoadGlobalObject();
Node* BuildLoadNativeContextField(int index);
Node* BuildLoadGlobalProxy();
......
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