Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index cd1994532b93842ae059981d20c99a6e0f249345..d7f54350e058a95a27124b6e9bde5892f00afefb 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -522,21 +522,6 @@ void JSGenericLowering::LowerJSStoreContext(Node* node) { |
} |
-void JSGenericLowering::LowerJSLoadDynamic(Node* node) { |
- const DynamicAccess& access = DynamicAccessOf(node->op()); |
- Runtime::FunctionId function_id = |
- (access.typeof_mode() == NOT_INSIDE_TYPEOF) |
- ? Runtime::kLoadLookupSlot |
- : Runtime::kLoadLookupSlotNoReferenceError; |
- Node* projection = graph()->NewNode(common()->Projection(0), node); |
- NodeProperties::ReplaceUses(node, projection, node, node, node); |
- node->RemoveInput(NodeProperties::FirstValueIndex(node)); |
- node->InsertInput(zone(), 1, jsgraph()->Constant(access.name())); |
- ReplaceWithRuntimeCall(node, function_id); |
- projection->ReplaceInput(0, node); |
-} |
- |
- |
void JSGenericLowering::LowerJSCreate(Node* node) { |
ReplaceWithRuntimeCall(node, Runtime::kNewObject); |
} |