Reviewers: Michael Starzinger,
Description:
[turbofan] Remove obsolete BuildLoadBuiltinsObject.
[email protected]
Please review this at https://codereview.chromium.org/1305163008/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+0, -9 lines):
M src/compiler/ast-graph-builder.h
M src/compiler/ast-graph-builder.cc
Index: src/compiler/ast-graph-builder.cc
diff --git a/src/compiler/ast-graph-builder.cc
b/src/compiler/ast-graph-builder.cc
index
12e121b5069474590509ccf22eea2773f1715fbd..22d9e7ab5efd9850e233f17f79bb4e007f67edf9
100644
--- a/src/compiler/ast-graph-builder.cc
+++ b/src/compiler/ast-graph-builder.cc
@@ -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);
Index: src/compiler/ast-graph-builder.h
diff --git a/src/compiler/ast-graph-builder.h
b/src/compiler/ast-graph-builder.h
index
a5861c8046012cc6d067da0bf6839e50d56aef5b..6c8e656166c3251ea3d6978a30a6f45f6fa0899d
100644
--- a/src/compiler/ast-graph-builder.h
+++ b/src/compiler/ast-graph-builder.h
@@ -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();
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.