Index: src/compiler/js-generic-lowering.cc |
diff --git a/src/compiler/js-generic-lowering.cc b/src/compiler/js-generic-lowering.cc |
index 82e5e6fd691d35d3505a54f269a338116152f47b..7e0d2cac4478c5c2ab91988ac61c43b6e76943b1 100644 |
--- a/src/compiler/js-generic-lowering.cc |
+++ b/src/compiler/js-generic-lowering.cc |
@@ -457,9 +457,6 @@ void JSGenericLowering::LowerJSLoadDynamic(Node* node) { |
void JSGenericLowering::LowerJSCreate(Node* node) { |
- // TODO(4544): The duplication of the constructor function is only valid if |
- // actual constructor and original constructor coincide. Fix this! |
- node->InsertInput(zone(), 1, node->InputAt(0)); // Duplicate constructor. |
ReplaceWithRuntimeCall(node, Runtime::kNewObject); |
} |